Re: [HACKERS] pgsql: Allow SQL-language functions to return the output of an

2008-11-01 Thread Tom Lane
Greg Stark <[EMAIL PROTECTED]> writes: > This isn't the same thing as allowing RETURNING inside subqueries, > right? Right. You could fairly easily get that now by wrapping your RETURNING query into a SQL function ... but I'm not sure that we want to advertise that heavily, because the question

Re: [HACKERS] pgsql: Allow SQL-language functions to return the output of an

2008-11-01 Thread Greg Stark
This isn't the same thing as allowing RETURNING inside subqueries, right? greg On 31 Oct 2008, at 07:37 PM, [EMAIL PROTECTED] (Tom Lane) wrote: Log Message: --- Allow SQL-language functions to return the output of an INSERT/ UPDATE/DELETE RETURNING clause, not just a SELECT as form