Re: Enable pl/python to return records based on multiple OUT params

From: "David Blewett" <david(at)dawninglight(dot)net>
To: "Hannu Krosing" <hannu(at)2ndquadrant(dot)com>
Cc: "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Enable pl/python to return records based on multiple OUT params
Date: 2008-11-04 19:05:35
Message-ID: 9d1f8d830811041105v7c40448fpcad56327fc0170f4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Nov 1, 2008 at 7:52 AM, Hannu Krosing <hannu(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2008-11-04 19:49:14 Re: [WIP] In-place upgrade
Previous Message Guillaume Lelarge 2008-11-04 18:12:13 Re: Patch for ALTER DATABASE WITH TABLESPACE