From: Adrian Klaver <adrian.klaver@gmail.com>
To: c k <shreeseva.learning@gmail.com>
Cc: Craig Ringer <ringerc@ringerc.id.au>
Cc: pgsql-general@postgresql.org
Subject: Re: postgresql server crash on windows 7 when using plpython
Date: Mon, 22 Aug 2011 07:38:50 -0700
Message-ID: <201108220738.50556.adrian.klaver@gmail.com> (raw)
In-Reply-To: <CAN2Y=uPt1fE6yhrwaqtirjEeaukOq3J8mCiB2ws17umNyqYmOw@mail.gmail.com>
References: <CAN2Y=uMs3SwWwogKpazMPKFTbuJZngOhaDLxYg+XReJK=BzpPA@mail.gmail.com>
<201108131207.29441.adrian.klaver@gmail.com>
<CAN2Y=uPt1fE6yhrwaqtirjEeaukOq3J8mCiB2ws17umNyqYmOw@mail.gmail.com>
On Monday, August 22, 2011 7:24:30 am c k wrote:
> No i didn't removed any thing. Only I have installed python 2.6. And then
> tried to create plpythonu. It got created, but when tries to execute
> already mentioned function server crashes.
>
> I didn't have any clue.
My guess is this is the clue:
"First I installed python 2.7 and then added python installation
path to windows PATH variable. ..."
It is very possible you have a version cross reference going on. In other words
pl/pythonu is being compiled against one version of Python, but run against
another. If it is possible I would remove the Python 2.7 installation or at
least the references to it and then recompile pl/pythonu.
>
> Thanks and regards.
>
> Chaitany Kulkarni
>
--
Adrian Klaver
adrian.klaver@gmail.com
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: adrian.klaver@gmail.com, shreeseva.learning@gmail.com, ringerc@ringerc.id.au, pgsql-general@postgresql.org
Subject: Re: postgresql server crash on windows 7 when using plpython
In-Reply-To: <201108220738.50556.adrian.klaver@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