1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-21 05:21:08 +03:00

Convert documentation to DocBook XML

Since some preparation work had already been done, the only source
changes left were changing empty-element tags like <xref linkend="foo">
to <xref linkend="foo"/>, and changing the DOCTYPE.

The source files are still named *.sgml, but they are actually XML files
now.  Renaming could be considered later.

In the build system, the intermediate step to convert from SGML to XML
is removed.  Everything is build straight from the source files again.
The OpenSP (or the old SP) package is no longer needed.

The documentation toolchain instructions are updated and are much
simpler now.

Peter Eisentraut, Alexander Lakhin, Jürgen Purtz
This commit is contained in:
Peter Eisentraut
2017-11-23 09:39:47 -05:00
parent 2f8d6369e6
commit 3c49c6facb
346 changed files with 4260 additions and 4588 deletions

View File

@@ -170,7 +170,7 @@ CREATE [ CONSTRAINT ] TRIGGER <replaceable class="parameter">name</replaceable>
When the <literal>CONSTRAINT</literal> option is specified, this command creates a
<firstterm>constraint trigger</firstterm>. This is the same as a regular trigger
except that the timing of the trigger firing can be adjusted using
<xref linkend="sql-set-constraints">.
<xref linkend="sql-set-constraints"/>.
Constraint triggers must be <literal>AFTER ROW</literal> triggers on plain
tables (not foreign tables). They
can be fired either at the end of the statement causing the triggering
@@ -208,7 +208,7 @@ CREATE [ CONSTRAINT ] TRIGGER <replaceable class="parameter">name</replaceable>
</para>
<para>
Refer to <xref linkend="triggers"> for more information about triggers.
Refer to <xref linkend="triggers"/> for more information about triggers.
</para>
</refsect1>
@@ -302,7 +302,7 @@ UPDATE OF <replaceable>column_name1</replaceable> [, <replaceable>column_name2</
<listitem>
<para>
The default timing of the trigger.
See the <xref linkend="sql-createtable"> documentation for details of
See the <xref linkend="sql-createtable"/> documentation for details of
these constraint options. This can only be specified for constraint
triggers.
</para>
@@ -432,7 +432,7 @@ UPDATE OF <replaceable>column_name1</replaceable> [, <replaceable>column_name2</
</para>
<para>
Use <xref linkend="sql-droptrigger"> to remove a trigger.
Use <xref linkend="sql-droptrigger"/> to remove a trigger.
</para>
<para>
@@ -605,7 +605,7 @@ CREATE TRIGGER paired_items_update
</para>
<para>
<xref linkend="trigger-example"> contains a complete example of a trigger
<xref linkend="trigger-example"/> contains a complete example of a trigger
function written in C.
</para>
</refsect1>
@@ -707,10 +707,10 @@ CREATE TRIGGER paired_items_update
<title>See Also</title>
<simplelist type="inline">
<member><xref linkend="sql-altertrigger"></member>
<member><xref linkend="sql-droptrigger"></member>
<member><xref linkend="sql-createfunction"></member>
<member><xref linkend="sql-set-constraints"></member>
<member><xref linkend="sql-altertrigger"/></member>
<member><xref linkend="sql-droptrigger"/></member>
<member><xref linkend="sql-createfunction"/></member>
<member><xref linkend="sql-set-constraints"/></member>
</simplelist>
</refsect1>
</refentry>