From dc4afb5580841720ea42bea7b3d4f18f1cd81760 Mon Sep 17 00:00:00 2001 From: Shinya Kato Date: Fri, 10 Jul 2026 17:15:44 +0900 Subject: [PATCH v4] doc: Clarify VERBOSE output for ANALYZE and VACUUM ANALYZE VERBOSE and VACUUM VERBOSE both print per-table information at INFO level, including the table currently being processed and various statistics. However, the documentation described ANALYZE VERBOSE only as displaying generic "progress messages", while VACUUM VERBOSE used different wording about a vacuum activity report. Reword the VERBOSE option descriptions and Outputs sections to describe the actual output more consistently. Also update the VACUUM example for VACUUM (VERBOSE, ANALYZE), since that command prints information about both vacuuming and analyzing the table. Author: Shinya Kato Reviewed-by: Maciek Sakrejda Reviewed-by: Fujii Masao Reviewed-by: David G. Johnston Reviewed-by: Surya Poondla Reviewed-by: Yushu Chen Reviewed-by: solai v Discussion: https://postgr.es/m/CAOzEurTpMTUEW8kHu-zKB0EBtuPfpvyoJ--8pxKe87p24BGrpg@mail.gmail.com --- doc/src/sgml/ref/analyze.sgml | 10 ++++++---- doc/src/sgml/ref/vacuum.sgml | 14 ++++++++------ 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/doc/src/sgml/ref/analyze.sgml b/doc/src/sgml/ref/analyze.sgml index ec81f00fecf..d27c0d9e864 100644 --- a/doc/src/sgml/ref/analyze.sgml +++ b/doc/src/sgml/ref/analyze.sgml @@ -65,7 +65,8 @@ ANALYZE [ ( option [, ...] ) ] [ VERBOSE - Enables display of progress messages at INFO level. + Prints detailed information about analyzing each table at + INFO level. @@ -167,9 +168,10 @@ ANALYZE [ ( option [, ...] ) ] [ Outputs - When VERBOSE is specified, ANALYZE emits - progress messages to indicate which table is currently being - processed. Various statistics about the tables are printed as well. + When VERBOSE is specified, ANALYZE + prints detailed information about analyzing each table at + INFO level, including which table is currently + being processed and various statistics about the tables. diff --git a/doc/src/sgml/ref/vacuum.sgml b/doc/src/sgml/ref/vacuum.sgml index 38ee973ea05..3c85846df26 100644 --- a/doc/src/sgml/ref/vacuum.sgml +++ b/doc/src/sgml/ref/vacuum.sgml @@ -115,8 +115,8 @@ VACUUM [ ( option [, ...] ) ] [ VERBOSE - Prints a detailed vacuum activity report for each table - at INFO level. + Prints detailed information about vacuuming each table at + INFO level. @@ -419,9 +419,10 @@ VACUUM [ ( option [, ...] ) ] [ Outputs - When VERBOSE is specified, VACUUM emits - progress messages to indicate which table is currently being - processed. Various statistics about the tables are printed as well. + When VERBOSE is specified, VACUUM + prints detailed information about vacuuming each table at + INFO level, including which table is currently + being processed and various statistics about the tables. @@ -501,7 +502,8 @@ VACUUM [ ( option [, ...] ) ] [ To clean a single table onek, analyze it for - the optimizer and print a detailed vacuum activity report: + the optimizer and print detailed information about vacuuming and + analyzing it: VACUUM (VERBOSE, ANALYZE) onek; -- 2.55.0