Re: doc: fix pg_stat_autovacuum_scores threshold wording

Kyotaro Horiguchi <horikyota.ntt@gmail.com>

From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: li.evan.chao@gmail.com
Cc: pgsql-hackers@lists.postgresql.org, nathandbossart@gmail.com
Date: 2026-06-25T03:45:19Z
Lists: pgsql-hackers
Hello,

At Thu, 25 Jun 2026 10:44:23 +0800, Chao Li <li.evan.chao@gmail.com> wrote in 
> While testing “[d7965d65f] Add rudimentary table prioritization to autovacuum”, I noticed a small doc issue.
> 
> In monitoring.sgml, it states:
> ```
>      <row>
>       <entry role="catalog_table_entry"><para role="column_definition">
>        <structfield>vacuum_score</structfield> <type>double precision</type>
>       </para>
>       <para>
>        Vacuum component score.  Scores greater than or equal to
>        <xref linkend="guc-autovacuum-vacuum-score-weight"/> indicate that
>        autovacuum would vacuum the table (unless autovacuum is disabled).
>       </para></entry>
>      </row>
> ```

If I understand this correctly, aren't the *_score_weight settings
used to prioritize candidate tables, rather than to determine whether
a table needs vacuuming or analyzing in the first place?

Regards,

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



Commits

  1. doc: Fix pg_stat_autovacuum_scores descriptions.