Commit cda1bd6c authored by Neil Conway's avatar Neil Conway

Various minor improvements to the SGML documentation: fix some incorrect

SGML markup, add a "deprecated features" section to the 8.0 release
notes, untabify release.sgml and runtime.sgml, and make some other
minor improvements.
parent 4dbb880d
<!-- $PostgreSQL: pgsql/doc/src/sgml/errcodes.sgml,v 1.7 2004/07/31 23:04:54 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/errcodes.sgml,v 1.8 2004/08/24 00:06:50 neilc Exp $ -->
<appendix id="errcodes-appendix"> <appendix id="errcodes-appendix">
<title><productname>PostgreSQL</productname> Error Codes</title> <title><productname>PostgreSQL</productname> Error Codes</title>
...@@ -1133,7 +1133,7 @@ ...@@ -1133,7 +1133,7 @@
<row> <row>
<entry>Class 58</entry> <entry>Class 58</entry>
<entry>System Error (errors external to PostgreSQL itself)</entry> <entry>System Error (errors external to <productname>PostgreSQL</> itself)</entry>
</row> </row>
<row> <row>
......
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/problems.sgml,v 2.18 2004/03/09 16:57:46 neilc Exp $ $PostgreSQL: pgsql/doc/src/sgml/problems.sgml,v 2.19 2004/08/24 00:06:50 neilc Exp $
--> -->
<sect1 id="bug-reporting"> <sect1 id="bug-reporting">
...@@ -11,8 +11,7 @@ $PostgreSQL: pgsql/doc/src/sgml/problems.sgml,v 2.18 2004/03/09 16:57:46 neilc E ...@@ -11,8 +11,7 @@ $PostgreSQL: pgsql/doc/src/sgml/problems.sgml,v 2.18 2004/03/09 16:57:46 neilc E
<productname>PostgreSQL</productname> more reliable because even the utmost <productname>PostgreSQL</productname> more reliable because even the utmost
care cannot guarantee that every part of care cannot guarantee that every part of
<productname>PostgreSQL</productname> <productname>PostgreSQL</productname>
will work on every will work on every platform under every circumstance.
platform under every circumstance.
</para> </para>
<para> <para>
...@@ -241,9 +240,9 @@ $PostgreSQL: pgsql/doc/src/sgml/problems.sgml,v 2.18 2004/03/09 16:57:46 neilc E ...@@ -241,9 +240,9 @@ $PostgreSQL: pgsql/doc/src/sgml/problems.sgml,v 2.18 2004/03/09 16:57:46 neilc E
in each new release, so it is quite possible that a bug you have in each new release, so it is quite possible that a bug you have
encountered in an older release of <productname>PostgreSQL</> encountered in an older release of <productname>PostgreSQL</>
has already been fixed. We can only provide limited support for has already been fixed. We can only provide limited support for
sites using older releases of PostgreSQL; if you require more sites using older releases of <productname>PostgreSQL</>; if you
than we can provide, consider acquiring a commercial support require more than we can provide, consider acquiring a
contract. commercial support contract.
</para> </para>
<para> <para>
</para> </para>
......
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_index.sgml,v 1.3 2004/08/21 16:16:04 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_index.sgml,v 1.4 2004/08/24 00:06:51 neilc Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -167,7 +167,8 @@ ALTER INDEX distributors SET TABLESPACE fasttablespace; ...@@ -167,7 +167,8 @@ ALTER INDEX distributors SET TABLESPACE fasttablespace;
<title>Compatibility</title> <title>Compatibility</title>
<para> <para>
<literal>ALTER INDEX</> is a PostgreSQL extension. <command>ALTER INDEX</> is a <productname>PostgreSQL</productname>
extension.
</para> </para>
</refsect1> </refsect1>
</refentry> </refentry>
......
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_sequence.sgml,v 1.7 2003/11/29 19:51:38 pgsql Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_sequence.sgml,v 1.8 2004/08/24 00:06:51 neilc Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -14,7 +14,7 @@ PostgreSQL documentation ...@@ -14,7 +14,7 @@ PostgreSQL documentation
ALTER SEQUENCE ALTER SEQUENCE
</refname> </refname>
<refpurpose> <refpurpose>
alter the definition of a sequence generator change the definition of a sequence generator
</refpurpose> </refpurpose>
</refnamediv> </refnamediv>
......
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_table_as.sgml,v 1.22 2004/08/04 21:33:42 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_table_as.sgml,v 1.23 2004/08/24 00:06:51 neilc Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -11,7 +11,7 @@ PostgreSQL documentation ...@@ -11,7 +11,7 @@ PostgreSQL documentation
<refnamediv> <refnamediv>
<refname>CREATE TABLE AS</refname> <refname>CREATE TABLE AS</refname>
<refpurpose>create a new table from the results of a query</refpurpose> <refpurpose>define a new table from the results of a query</refpurpose>
</refnamediv> </refnamediv>
<indexterm zone="sql-createtableas"> <indexterm zone="sql-createtableas">
......
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_tablespace.sgml,v 1.3 2004/08/02 04:25:37 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_tablespace.sgml,v 1.4 2004/08/24 00:06:51 neilc Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -34,8 +34,8 @@ CREATE TABLESPACE <replaceable class="parameter">tablespacename</replaceable> [ ...@@ -34,8 +34,8 @@ CREATE TABLESPACE <replaceable class="parameter">tablespacename</replaceable> [
</para> </para>
<para> <para>
A tablespace allows superusers to define an alternative location on the A tablespace allows superusers to define an alternative location on
file system where the data files representing database objects the file system where the data files containing database objects
(such as tables and indexes) may reside. (such as tables and indexes) may reside.
</para> </para>
......
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.120 2004/08/14 23:49:07 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.121 2004/08/24 00:06:51 neilc Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -771,7 +771,7 @@ testdb=> ...@@ -771,7 +771,7 @@ testdb=>
<listitem> <listitem>
<para> <para>
Shows the copyright and distribution terms of Shows the copyright and distribution terms of
<application>PostgreSQL</application>. <productname>PostgreSQL</productname>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/release_savepoint.sgml,v 1.1 2004/08/12 19:12:21 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/release_savepoint.sgml,v 1.2 2004/08/24 00:06:51 neilc Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -77,7 +77,7 @@ RELEASE [ SAVEPOINT ] <replaceable>savepoint_name</replaceable> ...@@ -77,7 +77,7 @@ RELEASE [ SAVEPOINT ] <replaceable>savepoint_name</replaceable>
<para> <para>
It is not possible to release a savepoint when the transaction is in It is not possible to release a savepoint when the transaction is in
aborted state. an aborted state.
</para> </para>
<para> <para>
...@@ -108,9 +108,11 @@ COMMIT; ...@@ -108,9 +108,11 @@ COMMIT;
<title>Compatibility</title> <title>Compatibility</title>
<para> <para>
The SQL2003 standard specifies that the keyword SAVEPOINT is mandatory. The SQL2003 standard specifies that the keyword
<productname>PostgreSQL</productname> allows the SAVEPOINT keyword to be <literal>SAVEPOINT</literal> is mandatory.
omitted. Otherwise, this command is fully conforming. <productname>PostgreSQL</productname> allows the
<literal>SAVEPOINT</literal> keyword to be omitted. Otherwise, this
command is fully conforming.
</para> </para>
</refsect1> </refsect1>
......
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/rollback_to.sgml,v 1.2 2004/08/12 19:12:21 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/rollback_to.sgml,v 1.3 2004/08/24 00:06:51 neilc Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -128,13 +128,15 @@ COMMIT; ...@@ -128,13 +128,15 @@ COMMIT;
<title>Compatibility</title> <title>Compatibility</title>
<para> <para>
The SQL2003 standard specifies that the keyword SAVEPOINT is mandatory. The SQL2003 standard specifies that the keyword
<productname>PostgreSQL</productname> and <productname>Oracle</productname> <literal>SAVEPOINT</> is mandatory. <productname>PostgreSQL</> and
allow the SAVEPOINT keyword to be omitted. SQL2003 allows only <productname>Oracle</> allow the <literal>SAVEPOINT</literal>
WORK, not TRANSACTION, as a noise word after ROLLBACK. Also, SQL2003 keyword to be omitted. SQL2003 allows only <literal>WORK</>, not
has an optional clause AND [ NO ] CHAIN which is not currently supported <literal>TRANSACTION</>, as a noise word after
by <productname>PostgreSQL</productname>. Otherwise, this command is <literal>ROLLBACK</>. Also, SQL2003 has an optional clause
fully conforming. <literal>AND [ NO ] CHAIN</> which is not currently supported by
<productname>PostgreSQL</>. Otherwise, this command is fully
conforming.
</para> </para>
</refsect1> </refsect1>
......
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/select_into.sgml,v 1.29 2004/08/04 21:33:42 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/select_into.sgml,v 1.30 2004/08/24 00:06:51 neilc Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -11,7 +11,7 @@ PostgreSQL documentation ...@@ -11,7 +11,7 @@ PostgreSQL documentation
<refnamediv> <refnamediv>
<refname>SELECT INTO</refname> <refname>SELECT INTO</refname>
<refpurpose>create a new table from the results of a query</refpurpose> <refpurpose>define a new table from the results of a query</refpurpose>
</refnamediv> </refnamediv>
<indexterm zone="sql-selectinto"> <indexterm zone="sql-selectinto">
......
This diff is collapsed.
This diff is collapsed.
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/xfunc.sgml,v 1.85 2004/07/30 12:26:39 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/xfunc.sgml,v 1.86 2004/08/24 00:06:50 neilc Exp $
--> -->
<sect1 id="xfunc"> <sect1 id="xfunc">
...@@ -1618,17 +1618,18 @@ concat_text(PG_FUNCTION_ARGS) ...@@ -1618,17 +1618,18 @@ concat_text(PG_FUNCTION_ARGS)
</indexterm> </indexterm>
<para> <para>
If you are thinking about distributing your PostgreSQL extension If you are thinking about distributing your
modules, setting up a portable build system for them can be fairly <productname>PostgreSQL</> extension modules, setting up a
difficult. Therefore the PostgreSQL installation provides a build portable build system for them can be fairly difficult. Therefore
the <productname>PostgreSQL</> installation provides a build
infrastructure for extensions, called <acronym>PGXS</acronym>, so infrastructure for extensions, called <acronym>PGXS</acronym>, so
that simple extension modules can be built simply against an that simple extension modules can be built simply against an
already installed server. Note that this infrastructure is not already installed server. Note that this infrastructure is not
intended to be a universal build system framework that can be used intended to be a universal build system framework that can be used
to build all software interfacing to PostgreSQL; it simply to build all software interfacing to <productname>PostgreSQL</>;
automates common build rules for simple server extension modules. it simply automates common build rules for simple server extension
For more complicated packages, you need to write your own build modules. For more complicated packages, you need to write your
system. own build system.
</para> </para>
<para> <para>
...@@ -1807,14 +1808,13 @@ include $(PGXS) ...@@ -1807,14 +1808,13 @@ include $(PGXS)
<title>Composite-Type Arguments in C-Language Functions</title> <title>Composite-Type Arguments in C-Language Functions</title>
<para> <para>
Composite types do not have a fixed layout like C Composite types do not have a fixed layout like C structures.
structures. Instances of a composite type may contain Instances of a composite type may contain null fields. In
null fields. In addition, composite types that are addition, composite types that are part of an inheritance
part of an inheritance hierarchy may have different hierarchy may have different fields than other members of the
fields than other members of the same inheritance hierarchy. same inheritance hierarchy. Therefore,
Therefore, <productname>PostgreSQL</productname> provides <productname>PostgreSQL</productname> provides a function
a function interface for accessing fields of composite types interface for accessing fields of composite types from C.
from C.
</para> </para>
<para> <para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment