Fix some SGML-compiler warnings on -wxml mode.
authorAlvaro Herrera <[email protected]>
Wed, 4 Feb 2009 21:30:41 +0000 (21:30 +0000)
committerAlvaro Herrera <[email protected]>
Wed, 4 Feb 2009 21:30:41 +0000 (21:30 +0000)
doc/src/sgml/advanced.sgml
doc/src/sgml/catalogs.sgml
doc/src/sgml/installation.sgml
doc/src/sgml/plpgsql.sgml
doc/src/sgml/syntax.sgml

index 9912b5feba34b39dcbb399b9ab34ed799cfb50ab..7974ce88238ac555ccb60e6ccdea7a20d65f9201 100644 (file)
@@ -529,7 +529,7 @@ FROM
           rank() OVER (PARTITION BY depname ORDER BY salary DESC, empno) AS pos
      FROM empsalary
   ) AS ss
-WHERE pos < 3;
+WHERE pos &lt; 3;
 </programlisting>
 
     The above query only shows the rows from the inner query having
index 552bd73b1216e9a27b1564797b5c3fb2cdda86d3..2e5a6ebb4aa01bf817f7d61604598b5063d01d5b 100644 (file)
   <table>
    <title><structname>pg_aggregate</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_am</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_amop</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_amproc</structname> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_attrdef</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_attribute</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_authid</> Columns</title>
 
-   <tgroup cols=3>
+   <tgroup cols="3">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_auth_members</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_autovacuum</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_cast</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_class</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_constraint</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_conversion</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_database</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_depend</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_description</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_enum</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_foreign_data_wrapper</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_foreign_server</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_index</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_inherits</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_language</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_largeobject</> Columns</title>
 
-   <tgroup cols=3>
+   <tgroup cols="3">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_listener</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_namespace</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_opclass</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_operator</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_opfamily</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_pltemplate</> Columns</title>
 
-   <tgroup cols=3>
+   <tgroup cols="3">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_proc</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_rewrite</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_shdepend</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_shdescription</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_statistic</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_tablespace</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_trigger</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_ts_config</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_ts_config_map</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_ts_dict</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_ts_parser</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_ts_template</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_type</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table id="catalog-typcategory-table">
    <title><structfield>typcategory</> Codes</title>
 
-   <tgroup cols=2>
+   <tgroup cols="2">
     <thead>
      <row>
       <entry>Code</entry>
   <table>
    <title><structname>pg_user_mapping</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_cursors</> Columns</title>
 
-   <tgroup cols=3>
+   <tgroup cols="3">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_group</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_indexes</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_locks</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_prepared_statements</> Columns</title>
 
-   <tgroup cols=3>
+   <tgroup cols="3">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_prepared_xacts</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_roles</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_rules</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_settings</> Columns</title>
 
-   <tgroup cols=3>
+   <tgroup cols="3">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_shadow</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_stats</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_tables</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_timezone_abbrevs</> Columns</title>
 
-   <tgroup cols=3>
+   <tgroup cols="3">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_timezone_names</> Columns</title>
 
-   <tgroup cols=3>
+   <tgroup cols="3">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_user</> Columns</title>
 
-   <tgroup cols=3>
+   <tgroup cols="3">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_user_mappings</> Columns</title>
 
-   <tgroup cols=3>
+   <tgroup cols="3">
     <thead>
      <row>
       <entry>Name</entry>
   <table>
    <title><structname>pg_views</> Columns</title>
 
-   <tgroup cols=4>
+   <tgroup cols="4">
     <thead>
      <row>
       <entry>Name</entry>
index e8d23f9595930860a7dd3fa27468cf176357560c..1668b068b57804b80b49a7ffb05e1655d94cf3c4 100644 (file)
@@ -2399,7 +2399,7 @@ hosts=local4,bind4
       <para>
        Start <command>cygserver</command> for shared memory support.
        To do this, enter the command <literal>/usr/sbin/cygserver
-       &</literal>.  This program needs to be running anytime you
+       &amp;</literal>.  This program needs to be running anytime you
        start the PostgreSQL server or initialize a database cluster
        (<command>initdb</command>).  The
        default <command>cygserver</command> configuration may need to
index 2a9495ce89e91956f39fc1cc542c03d6543c56cf..8b8a1114595ce287c42ac8b43bb11f33e0dddbab 100644 (file)
@@ -1088,7 +1088,7 @@ EXECUTE <replaceable class="command">command-string</replaceable> <optional> INT
      to SQL-injection attacks since there is no need for quoting or escaping.
      An example is:
 <programlisting>
-EXECUTE 'SELECT count(*) FROM mytable WHERE inserted_by = $1 AND inserted <= $2'
+EXECUTE 'SELECT count(*) FROM mytable WHERE inserted_by = $1 AND inserted &lt;= $2'
    INTO c
    USING checked_user, checked_date;
 </programlisting>
@@ -1101,7 +1101,7 @@ EXECUTE 'SELECT count(*) FROM mytable WHERE inserted_by = $1 AND inserted <= $2'
 <programlisting>
 EXECUTE 'SELECT count(*) FROM '
     || tabname::regclass
-    || ' WHERE inserted_by = $1 AND inserted <= $2'
+    || ' WHERE inserted_by = $1 AND inserted &lt;= $2'
    INTO c
    USING checked_user, checked_date;
 </programlisting>
@@ -4012,7 +4012,7 @@ a_output := a_output || $$ if v_$$ || referrer_keys.kind || $$ like '$$
    <productname>PostgreSQL</>'s <application>PL/pgSQL</application>
    language and Oracle's <application>PL/SQL</application> language,
    to help developers who port applications from
-   <trademark class=registered>Oracle</> to <productname>PostgreSQL</>.
+   <trademark class="registered">Oracle</> to <productname>PostgreSQL</>.
   </para>
 
   <para>
index b8ba2f919b482cd029d4764edc4d9e8633d5498a..a559d757cd24fc2c08101682c56cca96cea0cb15 100644 (file)
@@ -194,11 +194,11 @@ UPDATE "my_table" SET "a" = 5;
     identifiers</secondary></indexterm> A variant of quoted
     identifiers allows including escaped Unicode characters identified
     by their code points.  This variant starts
-    with <literal>U&</literal> (upper or lower case U followed by
+    with <literal>U&amp;</literal> (upper or lower case U followed by
     ampersand) immediately before the opening double quote, without
-    any spaces in between, for example <literal>U&"foo"</literal>.
+    any spaces in between, for example <literal>U&amp;"foo"</literal>.
     (Note that this creates an ambiguity with the
-    operator <literal>&</literal>.  Use spaces around the operator to
+    operator <literal>&amp;</literal>.  Use spaces around the operator to
     avoid this problem.)  Inside the quotes, Unicode characters can be
     specified in escaped form by writing a backslash followed by the
     four-digit hexadecimal code point number or alternatively a
@@ -206,12 +206,12 @@ UPDATE "my_table" SET "a" = 5;
     hexadecimal code point number.  For example, the
     identifier <literal>"data"</literal> could be written as
 <programlisting>
-U&"d\0061t\+000061"
+U&amp;"d\0061t\+000061"
 </programlisting>
     The following less trivial example writes the Russian
     word <quote>slon</quote> (elephant) in Cyrillic letters:
 <programlisting>
-U&"\0441\043B\043E\043D"
+U&amp;"\0441\043B\043E\043D"
 </programlisting>
    </para>
 
@@ -221,7 +221,7 @@ U&"\0441\043B\043E\043D"
     the <literal>UESCAPE</literal><indexterm><primary>UESCAPE</primary></indexterm>
     clause after the string, for example:
 <programlisting>
-U&"d!0061t!+000061" UESCAPE '!'
+U&amp;"d!0061t!+000061" UESCAPE '!'
 </programlisting>
     The escape character can be any single character other than a
     hexadecimal digit, the plus sign, a single quote, a double quote,
@@ -458,11 +458,11 @@ SELECT 'foo'      'bar';
      <productname>PostgreSQL</productname> also supports another type
      of escape syntax for strings that allows specifying arbitrary
      Unicode characters by code point.  A Unicode escape string
-     constant starts with <literal>U&</literal> (upper or lower case
+     constant starts with <literal>U&amp;</literal> (upper or lower case
      letter U followed by ampersand) immediately before the opening
      quote, without any spaces in between, for
-     example <literal>U&'foo'</literal>.  (Note that this creates an
-     ambiguity with the operator <literal>&</literal>.  Use spaces
+     example <literal>U&amp;'foo'</literal>.  (Note that this creates an
+     ambiguity with the operator <literal>&amp;</literal>.  Use spaces
      around the operator to avoid this problem.)  Inside the quotes,
      Unicode characters can be specified in escaped form by writing a
      backslash followed by the four-digit hexadecimal code point
@@ -470,12 +470,12 @@ SELECT 'foo'      'bar';
      followed by a six-digit hexadecimal code point number.  For
      example, the string <literal>'data'</literal> could be written as
 <programlisting>
-U&'d\0061t\+000061'
+U&amp;'d\0061t\+000061'
 </programlisting>
      The following less trivial example writes the Russian
      word <quote>slon</quote> (elephant) in Cyrillic letters:
 <programlisting>
-U&'\0441\043B\043E\043D'
+U&amp;'\0441\043B\043E\043D'
 </programlisting>
     </para>
 
@@ -485,7 +485,7 @@ U&'\0441\043B\043E\043D'
      the <literal>UESCAPE</literal><indexterm><primary>UESCAPE</primary></indexterm>
      clause after the string, for example:
 <programlisting>
-U&'d!0061t!+000061' UESCAPE '!'
+U&amp;'d!0061t!+000061' UESCAPE '!'
 </programlisting>
      The escape character can be any single character other than a
      hexadecimal digit, the plus sign, a single quote, a double quote,