Don't allow VACUUM VERBOSE ANALYZE VERBOSE.
authorRobert Haas <rhaas@postgresql.org>
Tue, 9 Jan 2018 15:12:58 +0000 (10:12 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 9 Jan 2018 15:20:48 +0000 (10:20 -0500)
commit921059bd66c7fb1230c705d3b1a65940800c4cbb
tree632494ebdb00edbd84c82731124631ec438ffcb9
parentbc7fa0c15c590ddf4872e426abd76c2634f22aca
Don't allow VACUUM VERBOSE ANALYZE VERBOSE.

There are plans to extend the syntax for ANALYZE, so we need to break
the link between VacuumStmt and AnalyzeStmt.  But apart from that, the
syntax above is undocumented and, if discovered by users, might give
the impression that the VERBOSE option for VACUUM differs from the
verbose option from ANALYZE, which it does not.

Nathan Bossart, reviewed by Michael Paquier and Masahiko Sawada

Discussion: http://postgr.es/m/D3FC73E2-9B1A-4DB4-8180-55F57D116B4E@amazon.com
src/backend/parser/gram.y