Re: Packaging of plpython

From: Gražvydas Valeika <gvaleika(at)gmail(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Packaging of plpython
Date: 2012-09-07 20:57:46
Message-ID: CAO6eJZo-FL0HB_07kdLucY+5X-UqupeE0ak_e4D9AeA+hobwXA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Sep 7, 2012 at 11:27 PM, John R Pierce <pierce(at)hogranch(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2012-09-07 21:05:42 Re: Packaging of plpython
Previous Message John R Pierce 2012-09-07 20:27:34 Re: Packaging of plpython