> On 22 Jun 2017, at 17:02, Tom Lane wrote:
>
> Robert Haas writes:
>> On Wed, Mar 29, 2017 at 11:13 AM, Daniel Gustafsson wrote:
>>> While reading I noticed that we allow multiple TO in ALTER
>>> EXTENSION
>>> UPDATE, and defer throwing a syntax error until command processing. Is
>>> there
Robert Haas writes:
> On Wed, Mar 29, 2017 at 11:13 AM, Daniel Gustafsson wrote:
>> While reading I noticed that we allow multiple TO in ALTER
>> EXTENSION
>> UPDATE, and defer throwing a syntax error until command processing. Is
>> there a
>> reason for deferring and not handling it in gram.
On Wed, Mar 29, 2017 at 11:13 AM, Daniel Gustafsson wrote:
> While reading I noticed that we allow multiple TO in ALTER EXTENSION
> UPDATE, and defer throwing a syntax error until command processing. Is there
> a
> reason for deferring and not handling it in gram.y directly as in the attached
>
While reading I noticed that we allow multiple TO in ALTER EXTENSION
UPDATE, and defer throwing a syntax error until command processing. Is there a
reason for deferring and not handling it in gram.y directly as in the attached
patch since it is in fact a syntax error? It yields a different error