Re: [GENERAL] Packaging of plpython

2012-09-08 Thread Peter Eisentraut
On Fri, 2012-09-07 at 22:41 +0300, Gražvydas Valeika wrote: What is the problem to provide both plpython2 and plpython3, or keep same (2 or 3) plpython available by default on both platforms? It is the decision of the respective packagers which version they provide and how much effort they want

Re: [GENERAL] Packaging of plpython

2012-09-08 Thread Gražvydas Valeika
It is the decision of the respective packagers which version they provide and how much effort they want to put in. If you have issues with their decisions, you could try to submit a bug report to their respective bug trackers. Btw., Debian and Ubuntu provide PL/Python for Python 2 and 3,

Re: [GENERAL] Packaging of plpython

2012-09-08 Thread John R Pierce
On 09/08/12 9:26 AM, Peter Eisentraut wrote: Personally, I think the Windows packagers made a mistake by providing Python 3 only at this point. does the windows package include its own self sufficient python runtime, or does it rely on a specific 3rd party python being installed ? if the

Re: [GENERAL] Packaging of plpython

2012-09-08 Thread Gražvydas Valeika
does the windows package include its own self sufficient python runtime, or does it rely on a specific 3rd party python being installed ? if the latter, is python 2.x available or just 3.x ? As I understand plpython on windows is only adapter to ActiveState Python 2 or 3. EDB installer

[GENERAL] Packaging of plpython

2012-09-07 Thread Gražvydas Valeika
Hi all, somebody please explain what is packaging policy of plpython. Now I see plpython2u packaged in Fedora and RHEL repositories and plpython3u in Windows installer by EnterpriseDB. Why there is such difference and what is advertised way to keep DB servers in Linux and Windows plpython

Re: [GENERAL] Packaging of plpython

2012-09-07 Thread Joshua D. Drake
On 09/07/2012 12:41 PM, Gražvydas Valeika wrote: Hi all, somebody please explain what is packaging policy of plpython. Now I see plpython2u packaged in Fedora and RHEL repositories and plpython3u in Windows installer by EnterpriseDB. Why there is such difference and what is advertised way to

Re: [GENERAL] Packaging of plpython

2012-09-07 Thread John R Pierce
On 09/07/12 12:41 PM, Gražvydas Valeika wrote: What is the problem to provide both plpython2 and plpython3, or keep same (2 or 3) plpython available by default on both platforms? what version of Python is included in RHEL or Fedora? what version of Python is included in MS Windows ? --

Re: [GENERAL] Packaging of plpython

2012-09-07 Thread Gražvydas Valeika
On Fri, Sep 7, 2012 at 11:27 PM, John R Pierce pie...@hogranch.com wrote: On 09/07/12 12:41 PM, Gražvydas Valeika wrote: What is the problem to provide both plpython2 and plpython3, or keep same (2 or 3) plpython available by default on both platforms? what version of Python is included

Re: [GENERAL] Packaging of plpython

2012-09-07 Thread John R Pierce
On 09/07/12 1:57 PM, Gražvydas Valeika wrote: I don't use RHEL, I use Scientific Linux clone of it. And yum.postgresql.org http://yum.postgresql.org/ repository packages. It contains plpyton2. In Fedora 16 - fedora repostitories, plpython2. In Windows - Enterprise DB 32 bit installer,

Re: [GENERAL] Packaging of plpython

2012-09-07 Thread John R Pierce
On 09/07/12 2:05 PM, John R Pierce wrote: plpython is dependent on python. minor correction, its dependent on python-libs, but the rest still applies. -- john r pierceN 37, W 122 santa cruz ca mid-left coast -- Sent via pgsql-general

Re: [GENERAL] Packaging of plpython

2012-09-07 Thread Gražvydas Valeika
On Sat, Sep 8, 2012 at 12:05 AM, John R Pierce pie...@hogranch.com wrote: On 09/07/12 1:57 PM, Gražvydas Valeika wrote: I don't use RHEL, I use Scientific Linux clone of it. And yum.postgresql.org http://yum.postgresql.org/ repository packages. It contains plpyton2. In Fedora 16 - fedora

Re: [GENERAL] Packaging of plpython

2012-09-07 Thread John R Pierce
On 09/07/12 2:26 PM, Gražvydas Valeika wrote: OK. It seemed to me, that plpython2 and plpython3 were introduced exactly for this reason. Postgres documentation (http://www.postgresql.org/docs/9.1/static/plpython-python23.html) states: It is not allowed to use PL/Python based on Python 2

Re: [GENERAL] Packaging of plpython

2012-09-07 Thread Gražvydas Valeika
OK. It seemed to me, that plpython2 and plpython3 were introduced exactly for this reason. Postgres documentation (http://www.postgresql.org/** docs/9.1/static/plpython-**python23.htmlhttp://www.postgresql.org/docs/9.1/static/plpython-python23.html) states: It is not allowed to use