Re: plpython return setof and yield

From: Adrian Klaver <aklaver(at)comcast(dot)net>
To: Nuno Mota <nmota(at)net-bo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: plpython return setof and yield
Date: 2009-08-17 18:23:42
Message-ID: 1790671346.877811250533422271.JavaMail.root@sz0030a.emeryville.ca.mail.comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

----- "Nuno Mota" <nmota(at)net-bo(dot)com> wrote:

> Thank you very much,
>
> Can i ask one more question ?
>
> How do I declare the correct result set to return, this in first
> example code, is it possible ?
>
> Thank you again,
> Nuno Mota
>
>

>From here:
http://www.postgresql.org/docs/8.3/interactive/plpython-funcs.html

"The result is returned from the Python code in the usual way, with return or yield (in case of a result-set statement). "

Adrian Klaver
aklaver(at)comcast(dot)net

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bryan Murphy 2009-08-17 18:30:31 Re: ERROR: attempted to delete invisible tuple
Previous Message Greg Stark 2009-08-17 18:01:30 Re: ERROR: attempted to delete invisible tuple