Can't create plpython language

Поиск
Список
Период
Сортировка
От guxiaobo1982
Тема Can't create plpython language
Дата
Msg-id tencent_015A925E228A47BF15FD3DDA@qq.com
обсуждение исходный текст
Ответы Re: Can't create plpython language  (Adrian Klaver <adrian.klaver@gmail.com>)
Re: Can't create plpython language  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-general
Hi,

I am running PostgreSQL 9.2.4.1 (from EnterpriseDB) on CENTOS 5.9 X64 server, I got the following errors when trying to create the python language handler, can you help with this, thanks in advance.

[postgres@lix ~]$ psql 
Password: 
psql.bin (9.2.4)
Type "help" for help.

No entry for terminal type "vt100";
using dumb terminal settings.
postgres=# create language plpython2u;
ERROR:  could not access file "$libdir/plpython2": No such file or directory
postgres=# create language plpython3u;
The connection to the server was lost. Attempting reset: Failed.
!> 


[postgres@lix ~]$ python
Python 2.4.3 (#1, Jan  9 2013, 06:47:03) 
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Xiaobo Gu

В списке pgsql-general по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Cannot connect to remote postgres database
Следующее
От: boraldomaster
Дата:
Сообщение: Re: How to create a cursor that is independent of transactions and doesn't calculated when created ?