From: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> |
---|---|
To: | c k <shreeseva(dot)learning(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: postgresql server crash on windows 7 when using plpython |
Date: | 2011-08-10 14:04:44 |
Message-ID: | 201108100704.44907.adrian.klaver@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
On Tuesday, August 09, 2011 10:13:17 pm c k wrote:
> Here is the actual function.
> create or replace function software.python_test() returns text as
> $body$
> import sys
> from uuid import getnode as get_mac
> mac = get_mac()
> return mac
> $body$
> language plpythonu volatile security definer;
>
> When running the same code from python prompt, it run correctly without any
> error.
The above function runs correctly in Postgres 9.0.3 on my Linux machine. I would
say Craigs post about multiple versions of uuid causing the problem is the
answer to your problem.
>
>
> Chaitanya Kulkarni
>
--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | A J | 2011-08-10 14:51:18 | Tentative release date for 9.1 and 9.2 |
Previous Message | Craig Ringer | 2011-08-10 13:55:44 | Re: FW: Character set equivalent for AL32UTF8 |
From | Date | Subject | |
---|---|---|---|
Next Message | Ioana Danes | 2011-08-10 15:25:52 | Re: PLPGSQL Generic query in trigger doubt |
Previous Message | Merlin Moncure | 2011-08-10 13:51:42 | Re: PLPGSQL Generic query in trigger doubt |