From c5e0415a28dee8dd47ef7c37a2987c34174b8088 Mon Sep 17 00:00:00 2001
From: Neil Conway <neilc@samurai.com>
Date: Sun, 26 Feb 2006 03:20:46 +0000
Subject: [PATCH] Minor SGML work: add some more hyperlinks, where appropriate.

---
 doc/src/sgml/ref/commit_prepared.sgml     |  5 +++--
 doc/src/sgml/ref/declare.sgml             |  7 ++++---
 doc/src/sgml/ref/prepare.sgml             |  5 +++--
 doc/src/sgml/ref/prepare_transaction.sgml | 19 ++++++++++---------
 doc/src/sgml/ref/rollback_prepared.sgml   |  5 +++--
 5 files changed, 23 insertions(+), 18 deletions(-)

diff --git a/doc/src/sgml/ref/commit_prepared.sgml b/doc/src/sgml/ref/commit_prepared.sgml
index b18175815b..0cd5cbaefe 100644
--- a/doc/src/sgml/ref/commit_prepared.sgml
+++ b/doc/src/sgml/ref/commit_prepared.sgml
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/commit_prepared.sgml,v 1.1 2005/06/17 22:32:42 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/commit_prepared.sgml,v 1.2 2006/02/26 03:20:46 neilc Exp $
 PostgreSQL documentation
 -->
 
@@ -65,7 +65,8 @@ COMMIT PREPARED <replaceable class="PARAMETER">transaction_id</replaceable>
 
   <para>
    All currently available prepared transactions are listed in the
-   <structname>pg_prepared_xacts</> system view.
+   <link linkend="view-pg-prepared-xacts"><structname>pg_prepared_xacts</structname></link>
+   system view.
   </para>
  </refsect1>
 
diff --git a/doc/src/sgml/ref/declare.sgml b/doc/src/sgml/ref/declare.sgml
index db5b3b2d15..f0c130014c 100644
--- a/doc/src/sgml/ref/declare.sgml
+++ b/doc/src/sgml/ref/declare.sgml
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/declare.sgml,v 1.36 2006/02/12 20:31:58 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/declare.sgml,v 1.37 2006/02/26 03:20:46 neilc Exp $
 PostgreSQL documentation
 -->
 
@@ -258,8 +258,9 @@ DECLARE <replaceable class="parameter">name</replaceable> [ BINARY ] [ INSENSITI
    </para>
 
    <para>
-    You can see all available cursors by querying the
-    <structname>pg_cursors</structname> system view.
+    You can see all available cursors by querying the <link
+    linkend="view-pg-cursors"><structname>pg_cursors</structname></link>
+    system view.
    </para>
  </refsect1>
 
diff --git a/doc/src/sgml/ref/prepare.sgml b/doc/src/sgml/ref/prepare.sgml
index 738b6320a4..5109864611 100644
--- a/doc/src/sgml/ref/prepare.sgml
+++ b/doc/src/sgml/ref/prepare.sgml
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/prepare.sgml,v 1.18 2006/01/15 22:18:46 neilc Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/prepare.sgml,v 1.19 2006/02/26 03:20:46 neilc Exp $
 PostgreSQL documentation
 -->
 
@@ -153,7 +153,8 @@ PREPARE <replaceable class="PARAMETER">name</replaceable> [ (<replaceable class=
 
   <para>
    You can see all available prepared statements of a session by querying the
-   <structname>pg_prepared_statements</> system view.
+   <link linkend="view-pg-prepared-statements"><structname>pg_prepared_statements</structname></link>
+   system view.
   </para>
  </refsect1>
 
diff --git a/doc/src/sgml/ref/prepare_transaction.sgml b/doc/src/sgml/ref/prepare_transaction.sgml
index 6230f04382..8c7e2ddda4 100644
--- a/doc/src/sgml/ref/prepare_transaction.sgml
+++ b/doc/src/sgml/ref/prepare_transaction.sgml
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/prepare_transaction.sgml,v 1.3 2005/08/30 01:37:38 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/prepare_transaction.sgml,v 1.4 2006/02/26 03:20:46 neilc Exp $
 PostgreSQL documentation
 -->
 
@@ -37,11 +37,11 @@ PREPARE TRANSACTION <replaceable class="PARAMETER">transaction_id</replaceable>
   </para>
 
   <para>
-   Once prepared, a transaction can later be committed or rolled
-   back with <command>COMMIT PREPARED</command> or 
-   <command>ROLLBACK PREPARED</command>, respectively.  Those commands
-   can be issued from any session, not only the one that executed the
-   original transaction.
+   Once prepared, a transaction can later be committed or rolled back
+   with <xref linkend="sql-commit-prepared" endterm="sql-commit-prepared-title">
+   or <xref linkend="sql-rollback-prepared" endterm="sql-rollback-prepared-title">,
+   respectively.  Those commands can be issued from any session, not
+   only the one that executed the original transaction.
   </para>
 
   <para>
@@ -82,8 +82,8 @@ PREPARE TRANSACTION <replaceable class="PARAMETER">transaction_id</replaceable>
   <title>Notes</title>
 
   <para>
-   This command must be used inside a transaction block. Use
-   <command>BEGIN</command> to start one.
+   This command must be used inside a transaction block. Use <xref
+   linkend="sql-begin" endterm="sql-begin-title"> to start one.
   </para>
 
   <para>
@@ -104,7 +104,8 @@ PREPARE TRANSACTION <replaceable class="PARAMETER">transaction_id</replaceable>
 
   <para>
    All currently available prepared transactions are listed in the
-   <structname>pg_prepared_xacts</> system view.
+   <link linkend="view-pg-prepared-xacts"><structname>pg_prepared_xacts</structname></link>
+   system view.
   </para>
 
   <para>
diff --git a/doc/src/sgml/ref/rollback_prepared.sgml b/doc/src/sgml/ref/rollback_prepared.sgml
index 51df922632..86685be117 100644
--- a/doc/src/sgml/ref/rollback_prepared.sgml
+++ b/doc/src/sgml/ref/rollback_prepared.sgml
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/rollback_prepared.sgml,v 1.1 2005/06/17 22:32:42 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/rollback_prepared.sgml,v 1.2 2006/02/26 03:20:46 neilc Exp $
 PostgreSQL documentation
 -->
 
@@ -65,7 +65,8 @@ ROLLBACK PREPARED <replaceable class="PARAMETER">transaction_id</replaceable>
 
   <para>
    All currently available prepared transactions are listed in the
-   <structname>pg_prepared_xacts</> system view.
+   <link linkend="view-pg-prepared-xacts"><structname>pg_prepared_xacts</structname></link>
+   system view.
   </para>
  </refsect1>
 
-- 
2.40.0