Re: wCTE: about the name of the feature

Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>

From: Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgreSQL.org
Date: 2011-02-26T10:48:38Z
Lists: pgsql-hackers
On 2011-02-26 4:41 AM +0200, Tom Lane wrote:
> Marko Tiikkaja<marko.tiikkaja@cs.helsinki.fi>  writes:
>> One thing bothers me though: what was the reason for requiring a
>> RETURNING clause for data-modifying statements in WITH?
>
> That test was in your patch, no?  I moved the code to another place
> but it's still enforcing the same thing, namely that you can't reference
> the output of an INSERT/UPDATE/DELETE that hasn't got RETURNING.

Oh, right.  I misunderstood.


Regards,
Marko Tiikkaja