From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
Cc: | Joshua Tolley <eggyknap(at)gmail(dot)com>, Shak <sshaikh(at)hotmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Using results from DELETE ... RETURNING |
Date: | 2009-06-05 23:13:43 |
Message-ID: | 14259.1244243623@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Merlin Moncure <mmoncure(at)gmail(dot)com> writes:
> On Fri, Jun 5, 2009 at 6:51 PM, Tom Lane<tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> I think you can loop over the results in plpgsql, for instance
> also sql functions can direct 'returning' results directly to the
> return of the function (at least in 8.4).
That bit is new in 8.4, which is why I didn't mention it. But I think
the plpgsql loop way works further back.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Andi Klapper | 2009-06-06 02:24:06 | PLPython function and multiple line insert |
Previous Message | Merlin Moncure | 2009-06-05 23:03:52 | Re: Using results from DELETE ... RETURNING |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-06-05 23:15:18 | Re: Unique namespace per session for temp tables? |
Previous Message | Emmanuel Cecchet | 2009-06-05 23:06:22 | Unique namespace per session for temp tables? |