Commit 0d2a78bf authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Repair markup to allow clean doc builds.

parent e7112784
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/advanced.sgml,v 1.13 2000/06/09 01:43:55 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/advanced.sgml,v 1.14 2000/06/14 13:12:52 thomas Exp $
--> -->
<chapter id="advanced"> <chapter id="advanced">
...@@ -59,6 +59,7 @@ CREATE TABLE capitals ( ...@@ -59,6 +59,7 @@ CREATE TABLE capitals (
The inheritance hierarchy is a directed acyclic graph. The inheritance hierarchy is a directed acyclic graph.
</para> </para>
</note> </note>
</para>
<para> <para>
For example, the following query finds the names of all cities, For example, the following query finds the names of all cities,
...@@ -66,7 +67,7 @@ CREATE TABLE capitals ( ...@@ -66,7 +67,7 @@ CREATE TABLE capitals (
over 500ft, the query is: over 500ft, the query is:
<programlisting> <programlisting>
SELECT c.name, c.altitude SELECT c.name, c.altitude
FROM cities c FROM cities c
WHERE c.altitude > 500; WHERE c.altitude > 500;
</programlisting> </programlisting>
...@@ -92,7 +93,7 @@ CREATE TABLE capitals ( ...@@ -92,7 +93,7 @@ CREATE TABLE capitals (
that are situated at an attitude of 500ft or higher: that are situated at an attitude of 500ft or higher:
<programlisting> <programlisting>
SELECT name, altitude SELECT name, altitude
FROM ONLY cities FROM ONLY cities
WHERE altitude &gt; 500; WHERE altitude &gt; 500;
...@@ -106,7 +107,7 @@ CREATE TABLE capitals ( ...@@ -106,7 +107,7 @@ CREATE TABLE capitals (
</programlisting> </programlisting>
</para> </para>
<para>
Here the <quote>ONLY</quote> before cities indicates that the query should Here the <quote>ONLY</quote> before cities indicates that the query should
be run over only cities and not classes below cities in the be run over only cities and not classes below cities in the
inheritance hierarchy. Many of the commands that we inheritance hierarchy. Many of the commands that we
...@@ -114,17 +115,21 @@ CREATE TABLE capitals ( ...@@ -114,17 +115,21 @@ CREATE TABLE capitals (
<command>UPDATE</command> and <command>DELETE</command> -- <command>UPDATE</command> and <command>DELETE</command> --
support this <quote>ONLY</quote> notation. support this <quote>ONLY</quote> notation.
</para> </para>
<para> <para>
Deprecated: In previous versions of postgres, the default was not to Deprecated: In previous versions of postgres, the default was not to
get access to child classes. By experience this was found to be error get access to child classes. By experience this was found to be error
prone. Under the old syntax, to get the sub-classes you append "*" prone. Under the old syntax, to get the sub-classes you append "*"
to the table name. For example to the table name. For example
<programlisting> <programlisting>
SELECT * from cities*; SELECT * from cities*;
</programlisting> </programlisting>
This old behaviour is still available by using a SET command...
This old behaviour is still available by using a SET command:
<programlisting> <programlisting>
SET EXAMINE_SUBCLASS TO on; SET EXAMINE_SUBCLASS TO on;
</programlisting> </programlisting>
</para> </para>
</sect1> </sect1>
......
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/inherit.sgml,v 1.8 2000/06/09 01:43:56 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/inherit.sgml,v 1.9 2000/06/14 13:12:52 thomas Exp $
--> -->
<chapter id="inherit"> <chapter id="inherit">
...@@ -40,6 +40,7 @@ CREATE TABLE capitals UNDER cities ( ...@@ -40,6 +40,7 @@ CREATE TABLE capitals UNDER cities (
The inheritance hierarchy is a actually a directed acyclic graph. The inheritance hierarchy is a actually a directed acyclic graph.
</para> </para>
</note> </note>
</para>
<para> <para>
For example, the following query finds the names of all cities, For example, the following query finds the names of all cities,
...@@ -87,6 +88,7 @@ CREATE TABLE capitals UNDER cities ( ...@@ -87,6 +88,7 @@ CREATE TABLE capitals UNDER cities (
</programlisting> </programlisting>
</para> </para>
<para>
Here the <quote>ONLY</quote> before cities indicates that the query should Here the <quote>ONLY</quote> before cities indicates that the query should
be run over only cities and not classes below cities in the be run over only cities and not classes below cities in the
inheritance hierarchy. Many of the commands that we inheritance hierarchy. Many of the commands that we
......
This diff is collapsed.
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