Skip to content

Commit 9c8d5f0

Browse files
author
Neil Conway
committed
Add a few more <xref> tags to the SGML docs, where appropriate. Original
patch from Michael Glaesemann, additional changes by Neil Conway.
1 parent d46b1f9 commit 9c8d5f0

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

doc/src/sgml/backup.sgml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.35 2004/02/03 17:34:02 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.36 2004/02/17 09:07:16 neilc Exp $
33
-->
44
<chapter id="backup">
55
<title>Backup and Restore</title>
@@ -86,9 +86,9 @@ pg_dump <replaceable class="parameter">dbname</replaceable> &gt; <replaceable cl
8686
When your database schema relies on OIDs (for instance as foreign
8787
keys) you must instruct <application>pg_dump</> to dump the OIDs
8888
as well. To do this, use the <option>-o</option> command line
89-
option. <quote>Large objects</> are not dumped by default, either.
90-
See <application>pg_dump</>'s command reference page if you use
91-
large objects.
89+
option. <quote>Large objects</> are not dumped by default,
90+
either. See <xref linkend="app-pgdump">'s reference page if you
91+
use large objects.
9292
</para>
9393
</important>
9494

@@ -260,7 +260,8 @@ cat <replaceable class="parameter">filename</replaceable>* | psql <replaceable c
260260
pg_dump -Fc <replaceable class="parameter">dbname</replaceable> > <replaceable class="parameter">filename</replaceable>
261261
</programlisting>
262262

263-
See the <application>pg_dump</> and <application>pg_restore</> reference pages for details.
263+
See the <xref linkend="app-pgdump"> and <xref
264+
linkend="app-pgrestore"> reference pages for details.
264265
</para>
265266
</formalpara>
266267

@@ -298,8 +299,8 @@ pg_dump -Fc <replaceable class="parameter">dbname</replaceable> > <replaceable c
298299
</para>
299300

300301
<para>
301-
Please familiarize yourself with the
302-
<citerefentry><refentrytitle>pg_dump</></> reference page.
302+
Please familiarize yourself with the <xref linkend="app-pgdump">
303+
reference page.
303304
</para>
304305
</sect2>
305306
</sect1>

doc/src/sgml/ref/pg_restore.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.45 2003/12/06 03:00:10 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.46 2004/02/17 09:07:16 neilc Exp $ -->
22

33
<refentry id="APP-PGRESTORE">
44
<refmeta>
@@ -110,7 +110,7 @@
110110
<para>
111111
Create the database before restoring into it. (When this
112112
option is used, the database named with <option>-d</option> is
113-
used only to issue the initial <literal>CREATE DATABASE</>
113+
used only to issue the initial <command>CREATE DATABASE</>
114114
command. All data is restored into the database name that
115115
appears in the archive.)
116116
</para>
@@ -454,7 +454,7 @@
454454
internally executes <acronym>SQL</acronym> statements. If you have
455455
problems running <application>pg_restore</application>, make sure
456456
you are able to select information from the database using, for
457-
example, <application>psql</application>.
457+
example, <xref linkend="app-psql">.
458458
</para>
459459
</refsect1>
460460

doc/src/sgml/user-manag.sgml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/user-manag.sgml,v 1.24 2003/11/29 19:51:38 pgsql Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/user-manag.sgml,v 1.25 2004/02/17 09:07:16 neilc Exp $
33
-->
44

55
<chapter id="user-manag">
@@ -161,8 +161,9 @@ dropuser <replaceable>name</replaceable>
161161

162162
A user's attributes can be modified after creation with
163163
<command>ALTER USER</command>.<indexterm><primary>ALTER USER</></>
164-
See the reference pages for <command>CREATE USER</command> and
165-
<command>ALTER USER</command> for details.
164+
See the reference pages for the <xref linkend="sql-createuser"
165+
endterm="sql-createuser-title"> and <xref linkend="sql-alteruser"
166+
endterm="sql-alteruser-title"> commands for details.
166167
</para>
167168

168169
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy