Reference doc "examples" section for pg_dump options that often need

complex quoting, e.g. -t and -n.
This commit is contained in:
Bruce Momjian 2011-03-10 19:40:23 -05:00
parent 3aa6041db5
commit 26174d5fd0

View File

@ -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: