Re: COPY (INSERT/UPDATE/DELETE .. RETURNING ..) - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: COPY (INSERT/UPDATE/DELETE .. RETURNING ..)
Date
Msg-id 564EE200.9070103@joh.to
Whole thread Raw
In response to Re: COPY (INSERT/UPDATE/DELETE .. RETURNING ..)  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 11/19/15 7:39 PM, Michael Paquier wrote:
> On Thu, Nov 19, 2015 at 9:22 PM, Marko Tiikkaja <marko@joh.to> wrote:
>> Of course, something might break if we added a new statement type which
>> supported RETURNING, but I'm really not worried about that.  I'm not dead
>> set against adding some Assert(IsA()) calls here, but I don't see the point.
>
> gram.y has a long comment before select_no_parens regarding why we
> shouldn't do it this way, did you notice it?

It talks about not doing  '(' SelectStmt ')'  "in the expression 
grammar".  I don't see what that has to do with this patch.


.m



pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: RLS open items are vague and unactionable
Next
From: Amit Langote
Date:
Subject: Re: Declarative partitioning