Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84c4e10

Browse files
committed
doc: Add secondary index entries for vacuum-related parameters.
For parameters that exist as both configuration and storage options, the documentation typically includes secondary index entries to help users distinguish and locate the relevant references easily. However, such index entries were missing for vacuum_truncate and vacuum_max_eager_freeze_failure_rate, both introduced in v18. This commit adds appropriate secondary index terms for these parameters to ensure consistency with other parameters and improve usability of the documentation index. Author: Fujii Masao <[email protected]> Discussion: https://postgr.es/m/[email protected]
1 parent fd51941 commit 84c4e10

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

doc/src/sgml/config.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9340,7 +9340,8 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
93409340
<varlistentry id="guc-vacuum-truncate" xreflabel="vacuum_truncate">
93419341
<term><varname>vacuum_truncate</varname> (<type>boolean</type>)
93429342
<indexterm>
9343-
<primary><varname>vacuum_truncate</varname> configuration parameter</primary>
9343+
<primary><varname>vacuum_truncate</varname></primary>
9344+
<secondary>configuration parameter</secondary>
93449345
</indexterm>
93459346
</term>
93469347
<listitem>
@@ -9544,7 +9545,8 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
95449545
<varlistentry id="guc-vacuum-max-eager-freeze-failure-rate" xreflabel="vacuum_max_eager_freeze_failure_rate">
95459546
<term><varname>vacuum_max_eager_freeze_failure_rate</varname> (<type>floating point</type>)
95469547
<indexterm>
9547-
<primary><varname>vacuum_max_eager_freeze_failure_rate</varname> configuration parameter</primary>
9548+
<primary><varname>vacuum_max_eager_freeze_failure_rate</varname></primary>
9549+
<secondary>configuration parameter</secondary>
95489550
</indexterm>
95499551
</term>
95509552
<listitem>

doc/src/sgml/ref/create_table.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,8 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
16941694
<varlistentry id="reloption-vacuum-truncate" xreflabel="vacuum_truncate">
16951695
<term><literal>vacuum_truncate</literal>, <literal>toast.vacuum_truncate</literal> (<type>boolean</type>)
16961696
<indexterm>
1697-
<primary><varname>vacuum_truncate</varname> storage parameter</primary>
1697+
<primary><varname>vacuum_truncate</varname></primary>
1698+
<secondary>storage parameter</secondary>
16981699
</indexterm>
16991700
</term>
17001701
<listitem>

0 commit comments

Comments
 (0)