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 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.

Reply via email to