mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
doc: Fix DocBook XML validity
The main problem is that DocBook SGML allows indexterm elements just
about everywhere, but DocBook XML is stricter. For example, this common
pattern
<varlistentry>
<indexterm>...</indexterm>
<term>...</term>
...
</varlistentry>
needs to be changed to something like
<varlistentry>
<term>...<indexterm>...</indexterm></term>
...
</varlistentry>
See also bb4eefe7bf
.
There is currently nothing in the build system that enforces that things
stay valid, because that requires additional tools and will receive
separate consideration.
This commit is contained in:
@@ -2731,11 +2731,13 @@ bar
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<indexterm>
|
||||
<primary>autocommit</primary>
|
||||
<secondary>psql</secondary>
|
||||
</indexterm>
|
||||
<term><varname>AUTOCOMMIT</varname></term>
|
||||
<term>
|
||||
<varname>AUTOCOMMIT</varname>
|
||||
<indexterm>
|
||||
<primary>autocommit</primary>
|
||||
<secondary>psql</secondary>
|
||||
</indexterm>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
When <literal>on</> (the default), each SQL command is automatically
|
||||
@@ -2971,11 +2973,13 @@ bar
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<indexterm>
|
||||
<primary>rollback</primary>
|
||||
<secondary>psql</secondary>
|
||||
</indexterm>
|
||||
<term><varname>ON_ERROR_ROLLBACK</varname></term>
|
||||
<term>
|
||||
<varname>ON_ERROR_ROLLBACK</varname>
|
||||
<indexterm>
|
||||
<primary>rollback</primary>
|
||||
<secondary>psql</secondary>
|
||||
</indexterm>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
When <literal>on</>, if a statement in a transaction block
|
||||
|
Reference in New Issue
Block a user