Skip to content

Commit 024f3fa

Browse files
author
Neil Conway
committed
Minor documentation improvements.
1 parent e97b8f2 commit 024f3fa

File tree

6 files changed

+28
-27
lines changed

6 files changed

+28
-27
lines changed

doc/src/sgml/backup.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.32 2003/11/29 19:51:36 pgsql Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.33 2004/01/11 05:46:58 neilc Exp $
33
-->
44
<chapter id="backup">
55
<title>Backup and Restore</title>
@@ -104,7 +104,7 @@ psql <replaceable class="parameter">dbname</replaceable> &lt; <replaceable class
104104
</synopsis>
105105
where <replaceable class="parameter">infile</replaceable> is what
106106
you used as <replaceable class="parameter">outfile</replaceable>
107-
for the <command>pg_dump</> command. The database <replaceable
107+
for the <application>pg_dump</> command. The database <replaceable
108108
class="parameter">dbname</replaceable> will not be created by this
109109
command, you must create it yourself from <literal>template0</> before executing
110110
<application>psql</> (e.g., with <literal>createdb -T template0
@@ -163,7 +163,7 @@ pg_dump -h <replaceable>host1</> <replaceable>dbname</> | psql -h <replaceable>h
163163
</sect2>
164164

165165
<sect2 id="backup-dump-all">
166-
<title>Using <command>pg_dumpall</></title>
166+
<title>Using <application>pg_dumpall</></title>
167167

168168
<para>
169169
The above mechanism is cumbersome and inappropriate when backing

doc/src/sgml/installation.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.191 2004/01/04 16:43:52 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.192 2004/01/11 05:46:58 neilc Exp $ -->
22

33
<chapter id="installation">
44
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -391,21 +391,21 @@ JAVACMD=$JAVA_HOME/bin/java
391391
</screen>
392392
If you need to preserve OIDs (such as when using them as
393393
foreign keys), then use the <option>-o</option> option when running
394-
<command>pg_dumpall</>.
394+
<application>pg_dumpall</>.
395395
</para>
396396

397397
<para>
398-
<command>pg_dumpall</command> does not
398+
<application>pg_dumpall</application> does not
399399
save large objects. Check
400400
<![%standalone-include[the documentation]]>
401401
<![%standalone-ignore[<xref linkend="backup-dump-caveats">]]>
402402
if you need to do this.
403403
</para>
404404

405405
<para>
406-
To make the backup, you can use the <command>pg_dumpall</command>
406+
To make the backup, you can use the <application>pg_dumpall</application>
407407
command from the version you are currently running. For best
408-
results, however, try to use the <command>pg_dumpall</command>
408+
results, however, try to use the <application>pg_dumpall</application>
409409
command from <productname>PostgreSQL</productname> &version;,
410410
since this version contains bug fixes and improvements over older
411411
versions. While this advice might seem idiosyncratic since you

doc/src/sgml/perform.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/perform.sgml,v 1.39 2003/12/14 00:10:32 neilc Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/perform.sgml,v 1.40 2004/01/11 05:46:58 neilc Exp $
33
-->
44

55
<chapter id="performance-tips">
@@ -623,9 +623,9 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
623623
<title>Populating a Database</title>
624624

625625
<para>
626-
One may need to do a large number of table insertions when first
627-
populating a database. Here are some tips and techniques for making that as
628-
efficient as possible.
626+
One may need to insert a large amount of data when first populating
627+
a database. This section contains some suggestions on how to make
628+
this process as efficient as possible.
629629
</para>
630630

631631
<sect2 id="disable-autocommit">
@@ -643,7 +643,7 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
643643
make sure the library does it when you want it done.)
644644
If you allow each insertion to be committed separately,
645645
<productname>PostgreSQL</productname> is doing a lot of work for each
646-
row added.
646+
row that is added.
647647
An additional benefit of doing all insertions in one transaction
648648
is that if the insertion of one row were to fail then the
649649
insertion of all rows inserted up to that point would be rolled

doc/src/sgml/ref/begin.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/begin.sgml,v 1.28 2004/01/10 02:21:08 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/begin.sgml,v 1.29 2004/01/11 05:46:58 neilc Exp $
33
PostgreSQL documentation
44
-->
55

@@ -76,9 +76,9 @@ BEGIN [ WORK | TRANSACTION ]
7676
</variablelist>
7777

7878
<para>
79-
See under <xref linkend="sql-set-transaction"
80-
endterm="sql-set-transaction-title"> about the meaning of the
81-
other parameters.
79+
Refer to <xref linkend="sql-set-transaction"
80+
endterm="sql-set-transaction-title"> for information on the meaning
81+
of the other parameters to this statement.
8282
</para>
8383
</refsect1>
8484

@@ -142,6 +142,7 @@ BEGIN;
142142
<title>See Also</title>
143143

144144
<simplelist type="inline">
145+
<member><xref linkend="sql-start-transaction" endterm="sql-start-transaction-title"></member>
145146
<member><xref linkend="sql-commit" endterm="sql-commit-title"></member>
146147
<member><xref linkend="sql-rollback" endterm="sql-rollback-title"></member>
147148
</simplelist>

doc/src/sgml/ref/create_schema.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/create_schema.sgml,v 1.10 2004/01/11 04:58:17 neilc Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/create_schema.sgml,v 1.11 2004/01/11 05:46:58 neilc Exp $
33
PostgreSQL documentation
44
-->
55

@@ -101,9 +101,9 @@ CREATE SCHEMA AUTHORIZATION <replaceable class="parameter">username</replaceable
101101
<title>Notes</title>
102102

103103
<para>
104-
To create a schema, the invoking user must have <literal>CREATE</>
105-
privilege for the current database. (Of course, superusers bypass
106-
this check.)
104+
To create a schema, the invoking user must have the
105+
<literal>CREATE</> privilege for the current database. (Of course,
106+
superusers bypass this check.)
107107
</para>
108108
</refsect1>
109109

@@ -162,8 +162,8 @@ CREATE VIEW hollywood.winners AS
162162
SCHEMA</command> may appear in any order. The present
163163
<productname>PostgreSQL</productname> implementation does not
164164
handle all cases of forward references in subcommands; it may
165-
sometimes be necessary to reorder the subcommands to avoid forward
166-
references.
165+
sometimes be necessary to reorder the subcommands in order to avoid
166+
forward references.
167167
</para>
168168

169169
<para>

doc/src/sgml/ref/start_transaction.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/start_transaction.sgml,v 1.10 2004/01/10 02:21:08 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/start_transaction.sgml,v 1.11 2004/01/11 05:46:58 neilc Exp $
33
PostgreSQL documentation
44
-->
55

@@ -42,9 +42,9 @@ START TRANSACTION
4242
<title>Parameters</title>
4343

4444
<para>
45-
See under <xref linkend="sql-set-transaction"
46-
endterm="sql-set-transaction-title"> about the meaning of the
47-
parameters.
45+
Refer to <xref linkend="sql-set-transaction"
46+
endterm="sql-set-transaction-title"> for information on the meaning
47+
of the parameters to this statement.
4848
</para>
4949
</refsect1>
5050

0 commit comments

Comments
 (0)