Re: plpython module import errors

From: c k <shreeseva(dot)learning(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: sim(at)compulab(dot)co(dot)il, mgainty(at)hotmail(dot)com, Karsten(dot)Hilbert(at)gmx(dot)net
Subject: Re: plpython module import errors
Date: 2011-04-28 14:11:50
Message-ID: BANLkTin0hZ-Q8S7Z1ZVo-XMJSAoxhiccRA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

Yes, there are three version (now). I am aware of only 2.7 installed
by default in /usr/lib directory and 3.2 which I have installed
externally. But the function given above shows version 2.6.4.
Now the question is how to change the version postresql is calling for
function execution?
I have also complied the postgresql source using python option, but
nothing happens. Is there is variable or like where we can set the
python deirectory and version postresql have to use?
Because as per manual, after installing 3.2, I have complied source,
but still it does not support to python 3.2!
Kindly give the details.
Thanks and regards,

C P Kulkarni

On 4/28/11, Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net> wrote:
> On Thu, Apr 28, 2011 at 09:15:06AM -0400, Martin Gainty wrote:
>
>> mv python python5 (for python version 5 binary)
>> mv python python6 (for python version 6 binary)
>
> Do you happen to mean 2.5 and 2.6 ?
>
> Given that, say, our Electronic Medical Record solution
> happily runs on Python 2.5, 2.6, and 2.7 I wonder what the
> version problems are that you are referring to ?
>
> Wether any Python is a wise choice for use as a
> procedural language may be another matter.
>
> Karsten
> --
> GPG key ID E4071346 @ gpg-keyserver.de
> E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Adrian Klaver 2011-04-28 14:29:52 Re: plpython module import errors
Previous Message Karsten Hilbert 2011-04-28 13:30:55 Re: plpython module import errors

Browse pgsql-general by date

  From Date Subject
Next Message Scott Ribe 2011-04-28 14:20:27 Re: SSDs with Postgresql?
Previous Message Massa, Harald Armin 2011-04-28 14:08:45 Re: NULL saves disk space?