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