Skip to content

Commit 26174d5

Browse files
committed
Reference doc "examples" section for pg_dump options that often need
complex quoting, e.g. -t and -n.
1 parent 3aa6041 commit 26174d5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/src/sgml/ref/pg_dump.sgml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ PostgreSQL documentation
301301
linkend="APP-PSQL-patterns" endterm="APP-PSQL-patterns-title">),
302302
so multiple schemas can also be selected by writing wildcard characters
303303
in the pattern. When using wildcards, be careful to quote the pattern
304-
if needed to prevent the shell from expanding the wildcards.
304+
if needed to prevent the shell from expanding the wildcards; see
305+
<xref linkend="pg-dump-examples" endterm="pg-dump-examples-title">.
305306
</para>
306307

307308
<note>
@@ -435,7 +436,8 @@ PostgreSQL documentation
435436
linkend="APP-PSQL-patterns" endterm="APP-PSQL-patterns-title">),
436437
so multiple tables can also be selected by writing wildcard characters
437438
in the pattern. When using wildcards, be careful to quote the pattern
438-
if needed to prevent the shell from expanding the wildcards.
439+
if needed to prevent the shell from expanding the wildcards; see
440+
<xref linkend="pg-dump-examples" endterm="pg-dump-examples-title">.
439441
</para>
440442

441443
<para>
@@ -973,7 +975,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
973975
</refsect1>
974976

975977
<refsect1 id="pg-dump-examples">
976-
<title>Examples</title>
978+
<title id="pg-dump-examples-title">Examples</title>
977979

978980
<para>
979981
To dump a database called <literal>mydb</> into a SQL-script file:

0 commit comments

Comments
 (0)