From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add --no-index-cleanup and --no-truncate to vacuumdb. |
Date: | 2020-06-22 04:32:59 |
Message-ID: | E1jnE8h-0001XL-H8@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add --no-index-cleanup and --no-truncate to vacuumdb.
Both INDEX_CLEANUP and TRUNCATE have been available since v12, and are
enabled by default except if respectively vacuum_index_cleanup and
vacuum_truncate are disabled for a given relation. This change adds
support for disabling these options from vacuumdb.
Author: Nathan Bossart
Reviewed-by: Michael Paquier, Masahiko Sawada
Discussion: https://postgr.es/m/6F7F17EF-B1F2-4681-8D03-BA96365717C0@amazon.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9550ea3027aa4f290c998afd8836a927df40b09d
Modified Files
--------------
doc/src/sgml/ref/vacuumdb.sgml | 30 ++++++++++++++++++++
src/bin/scripts/t/100_vacuumdb.pl | 16 ++++++++++-
src/bin/scripts/vacuumdb.c | 58 ++++++++++++++++++++++++++++++++++++++-
3 files changed, 102 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2020-06-22 04:48:08 | pgsql: Fix inconsistent markups in catalogs.sgml |
Previous Message | Alexander Korotkov | 2020-06-21 01:52:24 | pgsql: Language fixes for docs related to opclass options |