pgsql: Allow existing VACUUM options to take a Boolean argument.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Allow existing VACUUM options to take a Boolean argument.
Date: 2019-03-29 12:28:03
Message-ID: E1h9qc7-0003VG-2g@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Allow existing VACUUM options to take a Boolean argument.

This makes VACUUM work more like EXPLAIN already does without changing
the meaning of any commands that already work. It is intended to
facilitate the addition of future VACUUM options that may take
non-Boolean parameters or that default to false.

Masahiko Sawada, reviewed by me.

Discussion: http://postgr.es/m/CA+TgmobpYrXr5sUaEe_T0boabV0DSm=utSOZzwCUNqfLEEm8Mw@mail.gmail.com
Discussion: http://postgr.es/m/CAD21AoBaFcKBAeL5_++j+Vzir2vBBcF4juW7qH8b3HsQY=Q6+w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/41b54ba78e8c4d64679ba4daf82e4e2efefe1922

Modified Files
--------------
doc/src/sgml/ref/vacuum.sgml | 26 ++++++++++++++++++++------
src/backend/commands/vacuum.c | 31 +++++++++++++++++++++++--------
src/backend/parser/gram.y | 10 ++++++++--
src/bin/psql/tab-complete.c | 2 ++
4 files changed, 53 insertions(+), 16 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2019-03-29 12:37:22 pgsql: doc: Refine README.links further
Previous Message Robert Haas 2019-03-29 12:18:26 pgsql: Warn more strongly about the dangers of exclusive backup mode.