8000 Don't put <indexterm> before <term> in <varlistentry> items. · commandprompt/postgres@716bcb6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 716bcb6

Browse files
committed
Don't put <indexterm> before <term> in <varlistentry> items.
Doing that results in a broken index entry in PDF output. We had only a few like that, which is probably why nobody noticed before. Standardize on putting the <term> first. Josh Kupershmidt
1 parent a26e342 commit 716bcb6

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

doc/src/sgml/config.sgml

Lines changed: 7 additions & 10 deletions
< 8000 tr class="diff-line-row">
Original file line numberDiff line numberDiff line change
@@ -1453,10 +1453,10 @@ SET ENABLE_SEQSCAN TO OFF;
14531453
</varlistentry>
14541454

14551455
<varlistentry id="guc-fsync" xreflabel="fsync">
1456+
<term><varname>fsync</varname> (<type>boolean</type>)</term>
14561457
<indexterm>
14571458
<primary><varname>fsync</> configuration parameter</primary>
14581459
</indexterm>
1459-
<term><varname>fsync</varname> (<type>boolean</type>)</term>
14601460
<listitem>
14611461
<para>
14621462
If this parameter is on, the <productname>PostgreSQL</> server
@@ -1596,10 +1596,10 @@ SET ENABLE_SEQSCAN TO OFF;
15961596
</varlistentry>
15971597

15981598
<varlistentry id="guc-full-page-writes" xreflabel="full_page_writes">
1599+
<term><varname>full_page_writes</varname> (<type>boolean</type>)</term>
15991600
<indexterm>
16001601
<primary><varname>full_page_writes</> configuration parameter</primary>
16011602
</indexterm>
1602-
<term><varname>full_page_writes</varname> (<type>boolean</type>)</term>
16031603
<listitem>
16041604
<para>
16051605
When this parameter is on, the <productname>PostgreSQL</> server
@@ -2442,6 +2442,7 @@ SET ENABLE_SEQSCAN TO OFF;
24422442
<variablelist>
24432443

24442444
<varlistentry id="guc-geqo" xreflabel="geqo">
2445+
<term><varname>geqo</varname> (<type>boolean</type>)</term>
24452446
<indexterm>
24462447
<primary>genetic query optimization</primary>
24472448
</indexterm>
@@ -2452,7 +2453,6 @@ SET ENABLE_SEQSCAN TO OFF;
24522453
<indexterm>
24532454
<primary><varname>geqo</> configuration parameter</primary>
24542455
</indexterm>
2455-
<term><varname>geqo</varname> (<type>boolean</type>)</term>
24562456
<listitem>
24572457
<para>
24582458
Enables or disables genetic query optimization.
@@ -4415,13 +4415,13 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
44154415
</varlistentry>
44164416

44174417
<varlistentry id="guc-default-transaction-isolation" xreflabel="default_transaction_isolation">
4418+
<term><varname>default_transaction_isolation</varname> (<type>enum</type>)</term>
44184419
<indexterm>
44194420
<primary>transaction isolation level</primary>
44204421
</indexterm>
44214422
<indexterm>
44224423
<primary><varname>default_transaction_isolation</> configuration parameter</primary>
44234424
</indexterm>
4424-
<term><varname>default_transaction_isolation</varname> (<type>enum</type>)</term>
44254425
<listitem>
44264426
<para>
44274427
Each SQL transaction has an isolation level, which can be
@@ -4440,14 +4440,13 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
44404440
</varlistentry>
44414441

44424442
<varlistentry id="guc-default-transaction-read-only" xreflabel="default_transaction_read_only">
4443+
<term><varname>default_transaction_read_only</varname> (<type>boolean</type>)</term>
44434444
<indexterm>
44444445
<primary>read-only transaction</primary>
44454446
</indexterm>
44464447
<indexterm>
44474448
<primary><varname>default_transaction_read_only</> configuration parameter</primary>
44484449
</indexterm>
4449-
4450-
<term><varname>default_transaction_read_only</varname> (<type>boolean</type>)</term>
44514450
<listitem>
44524451
<para>
44534452
A read-only SQL transaction cannot alter non-temporary tables.
@@ -4719,6 +4718,7 @@ SET XML OPTION { DOCUMENT | CONTENT };
47194718
</varlistentry>
47204719

47214720
<varlistentry id="guc-extra-float-digits" xreflabel="extra_float_digits">
4721+
<term><varname>extra_float_digits</varname> (<type>integer</type>)</term>
47224722
<indexterm>
47234723
<primary>significant digits</primary>
47244724
</indexterm>
@@ -4729,8 +4729,6 @@ SET XML OPTION { DOCUMENT | CONTENT };
47294729
<indexterm>
47304730
<primary><varname>extra_float_digits</> configuration parameter</primary>
47314731
</indexterm>
4732-
4733-
<term><varname>extra_float_digits</varname> (<type>integer</type>)</term>
47344732
<listitem>
47354733
<para>
47364734
This parameter adjusts the number of digits displayed for
@@ -5004,6 +5002,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
50045002
<variablelist>
50055003

50065004
<varlistentry id="guc-deadlock-timeout" xreflabel="deadlock_timeout">
5005+
<term><varname>deadlock_timeout</varname> (<type>integer</type>)</term>
50075006
<indexterm>
50085007
<primary>deadlock</primary>
50095008
<secondary>timeout during</secondary>
@@ -5015,8 +5014,6 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
50155014
<indexterm>
50165015
<primary><varname>deadlock_timeout</> configuration parameter</primary>
50175016
</indexterm>
5018-
5019-
<term><varname>deadlock_timeout</varname> (<type>integer</type>)</term>
50205017
<listitem>
50215018
<para>
50225019
This is the amount of time, in milliseconds, to wait on a lock

doc/src/sgml/libpq.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2229,11 +2229,11 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);
22292229
</varlistentry>
22302230

22312231
<varlistentry id="libpq-pg-diag-sqlstate">
2232+
<term><symbol>PG_DIAG_SQLSTATE</></term>
22322233
<indexterm>
22332234
<primary>error codes</primary>
22342235
<secondary>libpq</secondary>
22352236
</indexterm>
2236-
<term><symbol>PG_DIAG_SQLSTATE</></term>
22372237
<listitem>
22382238
<para>
22392239
The SQLSTATE code for the error. The SQLSTATE code identifies

0 commit comments

Comments
 (0)
0