From: | guxiaobo1982 <guxiaobo1982(at)qq(dot)com> |
---|---|
To: | Jov <amutu(at)amutu(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Reply: Can't create plpython language |
Date: | 2013-07-05 09:31:05 |
Message-ID: | tencent_57996F37759F5C8C3BAA30E5@qq.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi ,
Python2 works, but how to create the plpython3u language, can we use both plpython2u and plpython3u in the same database server?
[postgres(at)lix ~]$ psql
psql (9.3beta2)
Type "help" for help.
postgres=# create language plpython3u;
ERROR: could not access file "$libdir/plpython3": No such file or directory
postgres=# create language plpython2u;
CREATE LANGUAGE
postgres=#
------------------ Original ------------------
Sender: "Jov"<amutu(at)amutu(dot)com>;
Send time: Friday, Jul 5, 2013 7:59 AM
To: "Michael Paquier"<michael(dot)paquier(at)gmail(dot)com>;
Cc: "guxiaobo1982"<guxiaobo1982(at)qq(dot)com>; "pgsql-general"<pgsql-general(at)postgresql(dot)org>;
Subject: Re: [GENERAL] Can't create plpython language
try the postgresql official rpm package for centos 5:
http://yum.postgresql.org/9.2/redhat/rhel-5-x86_64/pgdg-centos92-9.2-6.noarch.rpm
or build your own from source.
Jov
blog: http:amutu.com/blog
2013/7/5 Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
On Thu, Jul 4, 2013 at 6:26 PM, guxiaobo1982 <guxiaobo1982(at)qq(dot)com> wrote:
> 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.
If this is PPAS, as the version number would suggest, you should
directly ask this question to EDB support team. This problem might not
be related to Postgres itself... At least the buildfarm machines do
not crash when trying to install a plpython extension.
--
Michael
--
Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
From | Date | Subject | |
---|---|---|---|
Next Message | guxiaobo1982 | 2013-07-05 09:47:39 | postgresql93-devel-9.3beta2-1PGDG.rhel5.x86_64 missed pg_config |
Previous Message | itishree sukla | 2013-07-05 08:29:51 | Triggers |