1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-30 06:01:21 +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

@@ -55,7 +55,7 @@ CREATE [ OR REPLACE ] RULE <replaceable class="parameter">name</replaceable> AS
transformation happens before the execution of the command starts.
If you actually want an operation that fires independently for each
physical row, you probably want to use a trigger, not a rule.
More information about the rules system is in <xref linkend="rules">.
More information about the rules system is in <xref linkend="rules"/>.
</para>
<para>
@@ -101,7 +101,7 @@ CREATE [ OR REPLACE ] RULE <replaceable class="parameter">name</replaceable> AS
<note>
<para>
A view that is simple enough to be automatically updatable (see <xref
linkend="sql-createview">) does not require a user-created rule in
linkend="sql-createview"/>) does not require a user-created rule in
order to be updatable. While you can create an explicit rule anyway,
the automatic update transformation will generally outperform an
explicit rule.
@@ -109,7 +109,7 @@ CREATE [ OR REPLACE ] RULE <replaceable class="parameter">name</replaceable> AS
<para>
Another alternative worth considering is to use <literal>INSTEAD OF</literal>
triggers (see <xref linkend="sql-createtrigger">) in place of rules.
triggers (see <xref linkend="sql-createtrigger"/>) in place of rules.
</para>
</note>
</refsect1>
@@ -297,8 +297,8 @@ UPDATE mytable SET name = 'foo' WHERE id = 42;
<title>See Also</title>
<simplelist type="inline">
<member><xref linkend="sql-alterrule"></member>
<member><xref linkend="sql-droprule"></member>
<member><xref linkend="sql-alterrule"/></member>
<member><xref linkend="sql-droprule"/></member>
</simplelist>
</refsect1>