Make xrefs to tables instead of assuming they appear below
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 15 May 2012 18:53:07 +0000 (21:53 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 15 May 2012 18:53:07 +0000 (21:53 +0300)
doc/src/sgml/func.sgml
doc/src/sgml/plpgsql.sgml

index 61e19b337c177680e76b0e257441fc178493435f..59f5299f7f1aae8a02308601a76ee037ef6b101d 100644 (file)
@@ -9616,7 +9616,7 @@ table2-mapping
  </sect1>
 
  <sect1 id="functions-json">
-  <title>JSON functions</title>
+  <title>JSON Functions</title>
 
   <indexterm zone="datatype-json">
     <primary>JSON</primary>
@@ -9624,8 +9624,8 @@ table2-mapping
   </indexterm>
 
   <para>
-    This section describes the functions that are available for creating
-    JSON (see <xref linkend="datatype-json">) data.
+   <xref linkend="functions-json-table"> shows the functions that are available
+   for creating JSON (see <xref linkend="datatype-json">) data.
   </para>
 
   <table id="functions-json-table">
index c5e9c2ee2d18b341942a00a04b40030b8acd62f0..ba2c57b687124c4f649b156deb66082de6d66e4f 100644 (file)
@@ -2601,7 +2601,8 @@ GET STACKED DIAGNOSTICS <replaceable>variable</replaceable> = <replaceable>item<
      Each <replaceable>item</replaceable> is a key word identifying a status
      value to be assigned to the specified variable (which should be
      of the right data type to receive it).  The currently available
-     status items are:
+     status items are shown in <xref linkend="plpgsql-exception-diagnostics-values">.
+    </para>
 
      <table id="plpgsql-exception-diagnostics-values">
       <title>Error diagnostics values</title>
@@ -2642,7 +2643,6 @@ GET STACKED DIAGNOSTICS <replaceable>variable</replaceable> = <replaceable>item<
        </tbody>
       </tgroup>
      </table>
-    </para>
 
     <para>
      If the exception did not set a value for an item, an empty string