Multiple TO version in ALTER EXTENSION UPDATE - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Multiple TO version in ALTER EXTENSION UPDATE
Date
Msg-id CE053BD2-494C-44B1-9A3B-7E112E185FE5@yesql.se
Whole thread Raw
List pgsql-hackers
While reading I noticed that we allow multiple TO <version> 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 message
to the user, but makes for easier to read code (IMH-and-biased-O).

cheers ./daniel


Attachment

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Logical decoding on standby
Next
From: Stas Kelvich
Date:
Subject: Re: logical decoding of two-phase transactions