Re: How to build postgresql 9.3 beta2 from source withplpython3u handler and postgres_fdw extensions.
Hi Adrian,
I use this configuration
./configure PYTHON='/opt/python32/bin/python3' --prefix=/opt/PostgreSQL/93b2src --with-python
but the create language plpython3u command failed.
Regards,
Xiaobo Gu
------------------ Original ------------------
From: "Adrian Klaver"<adrian.klaver@gmail.com>;
Date: Jul 5, 2013
To: "guxiaobo1982"<guxiaobo1982@qq.com>;
Cc: "pgsql-general"<pgsql-general@postgresql.org>;
Subject: Re: [GENERAL] How to build postgresql 9.3 beta2 from source withplpython3u handler and postgres_fdw extensions.
On 07/05/2013 03:31 AM, guxiaobo1982 wrote:
Hi,
I use the following commands to build PostgreSQL9.3 from source, but
plpython3u and postgres_fdw are missed in the result, can you help with
this.
http://www.postgresql.org/docs/9.3/static/plpython-python23.html
"Tip: The built variant depends on which Python version was found during
the installation or which version was explicitly set using the PYTHON
environment variable; see Section 15.4. To make both variants of
PL/Python available in one installation, the source tree has to be
configured and built twice."
--
Adrian Klaver
adrian.klaver@gmail.com
And what about postgres_fdw?
------------------ Original ------------------
From: "Adrian Klaver"<adrian.klaver@gmail.com>;
Date: Jul 5, 2013
To: "guxiaobo1982"<guxiaobo1982@qq.com>;
Cc: "pgsql-general"<pgsql-general@postgresql.org>;
Subject: Re: [GENERAL] How to build postgresql 9.3 beta2 from source withplpython3u handler and postgres_fdw extensions.
On 07/05/2013 03:31 AM, guxiaobo1982 wrote:
Hi,
I use the following commands to build PostgreSQL9.3 from source, but
plpython3u and postgres_fdw are missed in the result, can you help with
this.
http://www.postgresql.org/docs/9.3/static/plpython-python23.html
"Tip: The built variant depends on which Python version was found during
the installation or which version was explicitly set using the PYTHON
environment variable; see Section 15.4. To make both variants of
PL/Python available in one installation, the source tree has to be
configured and built twice."
--
Adrian Klaver
adrian.klaver@gmail.com
Import Notes
Resolved by subject fallback
On 07/05/2013 06:48 AM, guxiaobo1982 wrote:
And what about postgres_fdw?
To answer both your questions.
Python3
In the directory you did the configure there should be a config.log.
Open it and see what it shows for the Python build. My suspicion is you
do not have the devel libraries for Python3 installed.
postgres_fdw
This is a contrib module. You will need to cd into the
contrib/postgres_fdw directory and do the make install from there before
running CREATE EXTENSION.
--
Adrian Klaver
adrian.klaver@gmail.com
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general