From ba7a65c5c5aaa71df23def8280fa70db7f11fd3b Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Wed, 1 Jul 2026 10:47:53 -0500 Subject: [PATCH] doc: Fix pg_stat_autovacuum_scores descriptions. The descriptions of the component scores state that values greater than or equal to the corresponding weight parameter mean autovacuum will process the table. However, since the code that determines whether to vacuum or analyze a table actually checks whether the threshold is exceeded, it's more accurate to say "greater than" there. Author: Chao Li Reviewed-by: Sami Imseih Discussion: https://postgr.es/m/E3ABDC6B-80CA-4C37-BA0B-A519D49F4C66%40gmail.com Backpatch-through: 19 --- doc/src/sgml/monitoring.sgml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 6dcf05eb702..38836f2c90f 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -4594,7 +4594,7 @@ description | Waiting for a newly initialized WAL file to reach durable storage xid_score double precision - Transaction ID age component score. Scores greater than or equal to + Transaction ID age component score. Scores greater than indicate that autovacuum would vacuum the table for transaction ID wraparound prevention. @@ -4606,7 +4606,7 @@ description | Waiting for a newly initialized WAL file to reach durable storage mxid_score double precision - Multixact ID age component score. Scores greater than or equal to + Multixact ID age component score. Scores greater than indicate that autovacuum would vacuum the table for multixact ID wraparound prevention. @@ -4618,7 +4618,7 @@ description | Waiting for a newly initialized WAL file to reach durable storage vacuum_score double precision - Vacuum component score. Scores greater than or equal to + Vacuum component score. Scores greater than indicate that autovacuum would vacuum the table (unless autovacuum is disabled). @@ -4629,7 +4629,7 @@ description | Waiting for a newly initialized WAL file to reach durable storage vacuum_insert_score double precision - Vacuum insert component score. Scores greater than or equal to + Vacuum insert component score. Scores greater than indicate that autovacuum would vacuum the table (unless autovacuum is disabled). @@ -4640,7 +4640,7 @@ description | Waiting for a newly initialized WAL file to reach durable storage analyze_score double precision - Analyze component score. Scores greater than or equal to + Analyze component score. Scores greater than indicate that autovacuum would analyze the table (unless autovacuum is disabled).