Re: [PATCHES] Fixes gram.y - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] Fixes gram.y
Date
Msg-id 6764.1016653676@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] Fixes gram.y  (Fernando Nasser <fnasser@redhat.com>)
List pgsql-hackers
Fernando Nasser <fnasser@redhat.com> writes:
> Yes, I am supposed to see if I can fix this and get rid of the "into"
> field in SelectStmt at the same time.  Right Tom?

Yeah, we had talked about that ... but I'm not sure it's worth the
trouble.  I don't see any clean way for the SELECT grammar rule to
return info about an INTO clause, other than by including it in
SelectStmt.

Probably the easiest answer is for CreateCommandTag to just deal with
drilling down into the parsetree to see if INTO appears.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Proposal: 7.2b2 today
Next
From: Tom Lane
Date:
Subject: Re: Domains and type coercion