aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-03-10 19:40:23 -0500
committerBruce Momjian <bruce@momjian.us>2011-03-10 19:40:23 -0500
commit26174d5fd0dec01bbbc4e766ed32b9a50a019c29 (patch)
tree27a872cf685642a7078ed6586426349c112c91f6
parent3aa6041db5706821295da34b47c60b18a0a34021 (diff)
downloadpostgresql-26174d5fd0dec01bbbc4e766ed32b9a50a019c29.tar.gz
postgresql-26174d5fd0dec01bbbc4e766ed32b9a50a019c29.zip
Reference doc "examples" section for pg_dump options that often need
complex quoting, e.g. -t and -n.
-rw-r--r--doc/src/sgml/ref/pg_dump.sgml8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
index 25dc2a70141..e78d275c0d3 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -301,7 +301,8 @@ PostgreSQL documentation
linkend="APP-PSQL-patterns" endterm="APP-PSQL-patterns-title">),
so multiple schemas can also be selected by writing wildcard characters
in the pattern. When using wildcards, be careful to quote the pattern
- if needed to prevent the shell from expanding the wildcards.
+ if needed to prevent the shell from expanding the wildcards; see
+ <xref linkend="pg-dump-examples" endterm="pg-dump-examples-title">.
</para>
<note>
@@ -435,7 +436,8 @@ PostgreSQL documentation
linkend="APP-PSQL-patterns" endterm="APP-PSQL-patterns-title">),
so multiple tables can also be selected by writing wildcard characters
in the pattern. When using wildcards, be careful to quote the pattern
- if needed to prevent the shell from expanding the wildcards.
+ if needed to prevent the shell from expanding the wildcards; see
+ <xref linkend="pg-dump-examples" endterm="pg-dump-examples-title">.
</para>
<para>
@@ -973,7 +975,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
</refsect1>
<refsect1 id="pg-dump-examples">
- <title>Examples</title>
+ <title id="pg-dump-examples-title">Examples</title>
<para>
To dump a database called <literal>mydb</> into a SQL-script file: