Обсуждение: pgsql: Allow existing VACUUM options to take a Boolean argument.

Поиск
Список
Период
Сортировка

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

От
Robert Haas
Дата:
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(-)