From: c k <shreeseva.learning@gmail.com>
To: pgsql-general@postgresql.org
Cc: sim@compulab.co.il
Cc: mgainty@hotmail.com
Cc: Karsten.Hilbert@gmx.net
Subject: Re: plpython module import errors
Date: Thu, 28 Apr 2011 19:41:50 +0530
Message-ID: <BANLkTin0hZ-Q8S7Z1ZVo-XMJSAoxhiccRA@mail.gmail.com> (raw)
In-Reply-To: <20110428133054.GI3783@hermes.hilbert.loc>
References: <BANLkTikG=d4n2tvVH0+aBTyHJtwC=fgFqw@mail.gmail.com>
<4DB9624A.1000104@compulab.co.il>
<BLU142-W36C9DEBBD6746ECBFCA840AE9B0@phx.gbl>
<20110428133054.GI3783@hermes.hilbert.loc>
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.Hilbert@gmx.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@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: shreeseva.learning@gmail.com, pgsql-general@postgresql.org, sim@compulab.co.il, mgainty@hotmail.com, Karsten.Hilbert@gmx.net
Subject: Re: plpython module import errors
In-Reply-To: <BANLkTin0hZ-Q8S7Z1ZVo-XMJSAoxhiccRA@mail.gmail.com>
References: <BANLkTikG=d4n2tvVH0+aBTyHJtwC=fgFqw@mail.gmail.com> <4DB9624A.1000104@compulab.co.il> <BLU142-W36C9DEBBD6746ECBFCA840AE9B0@phx.gbl> <20110428133054.GI3783@hermes.hilbert.loc> <BANLkTin0hZ-Q8S7Z1ZVo-XMJSAoxhiccRA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox