pgsql: Don't allow VACUUM VERBOSE ANALYZE VERBOSE.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't allow VACUUM VERBOSE ANALYZE VERBOSE.
Date: 2018-01-09 15:23:03
Message-ID: E1eYvjz-0002kI-OI@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/921059bd66c7fb1230c705d3b1a65940800c4cbb

Modified Files
--------------
src/backend/parser/gram.y | 25 ++++++++++---------------
1 file changed, 10 insertions(+), 15 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-01-09 16:39:23 pgsql: Allow ConditionVariable[PrepareTo]Sleep to auto-switch between C
Previous Message Teodor Sigaev 2018-01-09 15:02:51 pgsql: Improve scripting language in pgbench