From: Masahiko Sawada Date: Fri, 10 Apr 2026 17:59:24 +0000 (-0700) Subject: doc: Improve consistency of parallel vacuum description. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;p=thirdparty%2Fpostgresql.git doc: Improve consistency of parallel vacuum description. Use consistent phrasing for parallel vacuum descriptions between manual VACUUM and autovacuum. Specifically, clarify that the parallel worker count is limited by the respective options only if they are explicitly specified. Also, fix a typo in the parallel vacuum section. Author: Aleksander Alekseev Discussion: https://postgr.es/m/CAJ7c6TPcSqzhbhrsiCMmVwmE8F7pwS7i9J49SP1zPKS_ER+vcA@mail.gmail.com --- diff --git a/doc/src/sgml/maintenance.sgml b/doc/src/sgml/maintenance.sgml index 652b291de15..76262df0502 100644 --- a/doc/src/sgml/maintenance.sgml +++ b/doc/src/sgml/maintenance.sgml @@ -1186,15 +1186,15 @@ analyze threshold = analyze base threshold + analyze scale factor * number of tu vacuum phase, please refer to ). The degree of parallelism is determined by the number of indexes on the relation that support parallel vacuum. For manual VACUUM, - this is limited by the PARALLEL option, which is - further capped by . + this is limited by the PARALLEL option if specified, + which is further capped by . For autovacuum, it is limited by the table's - if any which is - capped limited by - parameter. Please - note that it is not guaranteed that the number of parallel workers that was - calculated 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. + if specified, + which is further capped by + parameter. Please note that it is not guaranteed that the number of parallel + workers that was calculated 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.