From c1f5ed6394fdfe97a41979cbfda6283bfc1f930c Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Sun, 4 Feb 2001 12:18:08 +0000
Subject: [PATCH] When making xrefs to refsects, the linkend should point to
 the refsect and the endterm to the title element, not both to the title.  At
 least docbook2man prefers it that way.

---
 doc/src/sgml/ref/create_table.sgml | 4 ++--
 doc/src/sgml/ref/select.sgml       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml
index 70b845e531..8a7796c575 100644
--- a/doc/src/sgml/ref/create_table.sgml
+++ b/doc/src/sgml/ref/create_table.sgml
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.40 2001/01/12 05:06:40 tgl Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.41 2001/02/04 12:18:08 petere Exp $
 Postgres documentation
 -->
 
@@ -238,7 +238,7 @@ ERROR:  Relation '<replaceable class="parameter">table</replaceable>' already ex
    may be a simple type, a complex type (set) or an array type.
    Each attribute may be specified to be non-null and
    each may have a default value, specified by the
-   <xref linkend="R1-SQL-DEFAULTCLAUSE-1-TITLE" endterm="R1-SQL-DEFAULTCLAUSE-1-TITLE">.
+   <xref linkend="R1-SQL-DEFAULTCLAUSE-1" endterm="R1-SQL-DEFAULTCLAUSE-1-TITLE">.
   </para>
 
   <para>
diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml
index bdd2bbc4c5..26bc9bdf4e 100644
--- a/doc/src/sgml/ref/select.sgml
+++ b/doc/src/sgml/ref/select.sgml
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/select.sgml,v 1.37 2001/01/13 23:58:55 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/select.sgml,v 1.38 2001/02/04 12:18:08 petere Exp $
 Postgres documentation
 -->
 
@@ -334,7 +334,7 @@ where <replaceable class="PARAMETER">from_item</replaceable> can be:
    The ORDER BY clause causes the returned rows to be sorted in a specified
    order.  If ORDER BY is not given, the rows are returned in whatever order
    the system finds cheapest to produce.
-   (See <xref linkend="sql-orderby-title" endterm="sql-orderby-title">.)
+   (See <xref linkend="sql-orderby" endterm="sql-orderby-title">.)
   </para>
    
   <para>