2012. 7. 26. 16:46
Postgresql 9.1.4 plpython 설치 Work/PostgreSQL2012. 7. 26. 16:46
root 로 로그인 후 아래 처럼 실행.
[root@pgdb01 ~]# [root@pgdb01 ~]# yum list | grep plpythonpostgresql-plpython.x86_64 8.4.12-1.el6_2 updatespostgresql91-plpython.x86_64 9.1.4-3PGDG.rhel6 pgdg91[root@pgdb01 ~]# [root@pgdb01 ~]# yum install postgresql91-plpython.x86_64Loaded plugins: fastestmirror, securityLoading mirror speeds from cached hostfile * base: ftp.neowiz.com * extras: ftp.neowiz.com * updates: ftp.neowiz.combase | 3.7 kB 00:00extras | 3.0 kB 00:00pgdg91 | 2.8 kB 00:00pgdg91/primary_db | 106 kB 00:00updates | 3.5 kB 00:00updates/primary_db | 663 kB 00:00Setting up Install ProcessResolving Dependencies--> Running transaction check---> Package postgresql91-plpython.x86_64 0:9.1.4-3PGDG.rhel6 will be installed--> Finished Dependency ResolutionDependencies Resolved======================================================================================================================== Package Arch Version Repository Size========================================================================================================================Installing: postgresql91-plpython x86_64 9.1.4-3PGDG.rhel6 pgdg91 61 kTransaction Summary========================================================================================================================Install 1 Package(s)Total download size: 61 kInstalled size: 211 kIs this ok [y/N]: yDownloading Packages:postgresql91-plpython-9.1.4-3PGDG.rhel6.x86_64.rpm | 61 kB 00:00Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning Transaction Installing : postgresql91-plpython-9.1.4-3PGDG.rhel6.x86_64 1/1 Verifying : postgresql91-plpython-9.1.4-3PGDG.rhel6.x86_64 1/1Installed: postgresql91-plpython.x86_64 0:9.1.4-3PGDG.rhel6Complete![root@pgdb01 ~]#[root@pgdb01 ~]#[root@pgdb01 ~]# su - postgres-bash-4.1$-bash-4.1$ createlang plpython2u db_patent-bash-4.1$한번에 성공하다니... ^0^
