Re: Enable pl/python to return records based on multiple OUT params - Mailing list pgsql-hackers

From David Blewett
Subject Re: Enable pl/python to return records based on multiple OUT params
Date
Msg-id 9d1f8d830811041105v7c40448fpcad56327fc0170f4@mail.gmail.com
Whole thread Raw
In response to Re: Enable pl/python to return records based on multiple OUT params  (Hannu Krosing <hannu@2ndQuadrant.com>)
Responses Re: ARRAY vars (was Enable pl/python to return records based on multiple OUT params)  (Hannu Krosing <hannu@2ndQuadrant.com>)
List pgsql-hackers
On Sat, Nov 1, 2008 at 7:52 AM, Hannu Krosing <hannu@2ndquadrant.com> wrote:
> On Sat, 2008-11-01 at 06:13 +0200, Hannu Krosing wrote:
>> attached is a patch which enables plpython to recognize function with
>> multiple OUT params as returning a record
>
> Overrides previous patch.
>
> Fixed some bugs, added regression tests.

Hi Hannu:

I was wondering if it would be possible to get plpython to convert IN
parameters of type ARRAY to Python lists? I see some example functions
here [1], but it would be nice if it was done automatically.

David

1. http://archives.postgresql.org/pgsql-general/2007-01/msg01417.php


pgsql-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Patch for ALTER DATABASE WITH TABLESPACE
Next
From: Tom Lane
Date:
Subject: Re: Patch for ALTER DATABASE WITH TABLESPACE