From 87d5f6bff7817367462a94a81128bfe243516310 Mon Sep 17 00:00:00 2001 From: Amit Kapila Date: Mon, 25 Nov 2019 16:26:17 +0530 Subject: [PATCH] Added/Changed comments and other cosmetic changes. --- doc/src/sgml/config.sgml | 2 +- doc/src/sgml/ref/vacuum.sgml | 26 +-- src/backend/access/heap/vacuumlazy.c | 322 +++++++++++++++++------------------ 3 files changed, 175 insertions(+), 175 deletions(-) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 51e7bb4a62..7e17d98fd8 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -2314,7 +2314,7 @@ include_dir 'conf.d' utility commands that support the use of parallel workers are CREATE INDEX only when building a B-tree index, and VACUUM without FULL - option. Parallel workers are taken from the pool of processes + option. Parallel workers are taken from the pool of processes established by , limited by . Note that the requested number of workers may not actually be available at run time. diff --git a/doc/src/sgml/ref/vacuum.sgml b/doc/src/sgml/ref/vacuum.sgml index ae086b976b..9fee083233 100644 --- a/doc/src/sgml/ref/vacuum.sgml +++ b/doc/src/sgml/ref/vacuum.sgml @@ -231,21 +231,21 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ integer background workers (for the detail of each vacuum phases, please - refer to ). If the parallel degree + refer to ). If the parallel degree integer is omitted, then VACUUM decides the number of workers based on number of indexes that support parallel vacuum operation on the relation which is further limited by - . Please note - that it is not guaranteed that the number of parallel worker specified + . Please note + that it is not guaranteed that the number of parallel workers specified in integer will be used - during execution. It is possible for a vacuum to run with fewer workers - than specified, or even with no workers at all. Only one worker can - be used per index. So parallel workers are launched only when there - are at least 2 indexes in the table. Workers for - vacuum launches before starting each phases and exit at the end of - the phase. These behaviors might change in a future release. This - option can not use with FULL option. + during execution. It is possible for a vacuum to run with fewer workers + than specified, or even with no workers at all. Only one worker can + be used per index. So parallel workers are launched only when there + are at least 2 indexes in the table. Workers for + vacuum launches before starting each phase and exit at the end of + the phase. These behaviors might change in a future release. This + option can't be used with the FULL option. @@ -270,8 +270,8 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ integer value can - also be omitted, in which case the default value of the selected - option is used. + also be omitted, in which case the value is decided by the command + based on the option used. @@ -356,7 +356,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [