Re: [ADMIN] postgresql server crash on windows 7 when using plpython

2011-08-10 Thread Scott Marlowe
On Wed, Aug 10, 2011 at 1:23 AM, c k wrote: > When I try to re-execute it, it says 'no connection to the server'. When > checked the logs I found > > 2011-08-09 19:46:00 IST LOG:  database system was interrupted; last known up > at 2011-08-09 19:45:17 IST > 2011-08-09 19:46:00 IST LOG:  database s

Re: [ADMIN] postgresql server crash on windows 7 when using plpython

2011-08-10 Thread c k
I didn't get any error message. When calling the function from PGAdmin I get error**. When I try to re-execute it, it says 'no connection to the server'. When checked the logs I found 2011-08-09 19:46:00 IST LOG: database system was interrupted; last known up at 2011-08-09 19:45:1

Re: [ADMIN] postgresql server crash on windows 7 when using plpython

2011-08-09 Thread Craig Ringer
On 9/08/2011 10:54 PM, c k wrote: Normal python functions returning text etc. are working but when conatining import sys from uuid import getnode as get_mac mac = get_mac() return mac fails. What will be the reason? You still haven't supplied the error message you get when you run this. In

[ADMIN] postgresql server crash on windows 7 when using plpython

2011-08-09 Thread c k
Dear Friends, For client requirements, I am testing postgresql 9.0.4 on windows 7 with plpython. First I installed python 2.7 and then added python installation path to windows PATH variable. Then installed postgresql from one-click installer. Server started and every thing was ok. Then I go to cre