Re: plpython return setof and yield - Mailing list pgsql-general

From Adrian Klaver
Subject Re: plpython return setof and yield
Date
Msg-id 1790671346.877811250533422271.JavaMail.root@sz0030a.emeryville.ca.mail.comcast.net
Whole thread Raw
In response to Re: plpython return setof and yield  (Nuno Mota <nmota@net-bo.com>)
Responses Re: plpython return setof and yield  (Nuno Mota <nmota@net-bo.com>)
List pgsql-general

----- "Nuno Mota" <nmota@net-bo.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@comcast.net

pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: ERROR: attempted to delete invisible tuple
Next
From: Bryan Murphy
Date:
Subject: Re: ERROR: attempted to delete invisible tuple