From 9550ea3027aa4f290c998afd8836a927df40b09d Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Mon, 22 Jun 2020 13:23:38 +0900 Subject: 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 --- doc/src/sgml/ref/vacuumdb.sgml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/vacuumdb.sgml b/doc/src/sgml/ref/vacuumdb.sgml index fd1dc140aba..95d6894cb03 100644 --- a/doc/src/sgml/ref/vacuumdb.sgml +++ b/doc/src/sgml/ref/vacuumdb.sgml @@ -226,6 +226,36 @@ PostgreSQL documentation + + + + + Do not remove index entries pointing to dead tuples. + + + + This option is only available for servers running + PostgreSQL 12 and later. + + + + + + + + + + Do not truncate empty pages at the end of the table. + + + + This option is only available for servers running + PostgreSQL 12 and later. + + + + + -- cgit v1.2.3