Re: Packaging of plpython - Mailing list pgsql-general

From Gražvydas Valeika
Subject Re: Packaging of plpython
Date
Msg-id CAO6eJZo-FL0HB_07kdLucY+5X-UqupeE0ak_e4D9AeA+hobwXA@mail.gmail.com
Whole thread Raw
In response to Re: Packaging of plpython  (John R Pierce <pierce@hogranch.com>)
Responses Re: Packaging of plpython
List pgsql-general


On Fri, Sep 7, 2012 at 11:27 PM, John R Pierce <pierce@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 in RHEL or Fedora? what version of Python is included in MS Windows ?


sorry, missed the list.

To Jushua:
Scientific Linux 64 bit which uses repository pointing to: http://yum.postgresql.org/9.1/redhat/rhel-$releasever-$basearch
and has installed postgresql91-plpython-9.1.5-3PGDG.rhel6.x86_64

in
/usr/pgsql-9.1/share/extension 
directory contains plpython2u and plpythonu, but no plpython3u.


I don't use RHEL, I use Scientific Linux clone of it. And yum.postgresql.org repository packages. It contains plpyton2. In Fedora  16 - fedora repostitories, plpython2. In Windows - Enterprise DB 32 bit installer, contains plpython3.dll which uses Python 3. No sign of plpython2. Same with 64 bit binaries zip file (I don't have installed 64 bit PG on Windows).  In windows, PG contains plpython3u description files in share/extension directory, but doesn't have plpython2.dll file required by these module definitions.

It seems that linux packages (postgresql.org and distribution) are biased to python2, EneterpriseDB windows installer to python3.

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Packaging of plpython
Next
From: John R Pierce
Date:
Subject: Re: Packaging of plpython