Re: postgresql server crash on windows 7 when using plpython

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: c k <shreeseva(dot)learning(at)gmail(dot)com>
Cc: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>, pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql server crash on windows 7 when using plpython
Date: 2011-08-22 14:38:50
Message-ID: 201108220738.50556.adrian.klaver@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

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(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Grittner 2011-08-22 15:17:57 Re: help in postgresql
Previous Message c k 2011-08-22 14:24:30 Re: postgresql server crash on windows 7 when using plpython

Browse pgsql-general by date

  From Date Subject
Next Message salah jubeh 2011-08-22 14:47:47 dependency on columns basis
Previous Message Merlin Moncure 2011-08-22 14:32:39 Re: securing the sql server ?