Skip to content

Commit 09d465c

Browse files
committed
Doc: fix a few oddly-spelled SGML ID attributes.
Avoid use of "_" in SGML IDs. Awhile back that was actually disallowed by the toolchain, as a consequence of which our convention has been to use "-" instead. Fix a couple of stragglers that are particularly inconsistent with that convention and with related IDs. This is just neatnik-ism, so no need for back-patch. Discussion: https://postgr.es/m/769446.1673478332@sss.pgh.pa.us
1 parent 27da598 commit 09d465c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

doc/src/sgml/config.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6062,7 +6062,7 @@ SELECT * FROM parent WHERE key = 2400;
60626062
</listitem>
60636063
</varlistentry>
60646064

6065-
<varlistentry id="guc-plan-cache_mode" xreflabel="plan_cache_mode">
6065+
<varlistentry id="guc-plan-cache-mode" xreflabel="plan_cache_mode">
60666066
<term><varname>plan_cache_mode</varname> (<type>enum</type>)
60676067
<indexterm>
60686068
<primary><varname>plan_cache_mode</varname> configuration parameter</primary>

doc/src/sgml/pgbuffercache.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,10 @@
183183
<title>The <function>pg_buffercache_summary()</function> Function</title>
184184

185185
<para>
186-
The definitions of the columns exposed by the function are shown in <xref linkend="pgbuffercache_summary-columns"/>.
186+
The definitions of the columns exposed by the function are shown in <xref linkend="pgbuffercache-summary-columns"/>.
187187
</para>
188188

189-
<table id="pgbuffercache_summary-columns">
189+
<table id="pgbuffercache-summary-columns">
190190
<title><function>pg_buffercache_summary()</function> Output Columns</title>
191191
<tgroup cols="1">
192192
<thead>

doc/src/sgml/ref/pg_checksums.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ PostgreSQL documentation
3333
</cmdsynopsis>
3434
</refsynopsisdiv>
3535

36-
<refsect1 id="r1-app-pg_checksums-1">
36+
<refsect1 id="r1-app-pgchecksums-1">
3737
<title>Description</title>
3838
<para>
3939
<application>pg_checksums</application> checks, enables or disables data

doc/src/sgml/ref/prepare.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ PREPARE <replaceable class="parameter">name</replaceable> [ ( <replaceable class
139139
</para>
140140

141141
<para>
142-
By default (that is, when <xref linkend="guc-plan-cache_mode"/> is set
142+
By default (that is, when <xref linkend="guc-plan-cache-mode"/> is set
143143
to <literal>auto</literal>), the server will automatically choose
144144
whether to use a generic or custom plan for a prepared statement that
145145
has parameters. The current rule for this is that the first five

0 commit comments

Comments
 (0)