8000 pg_dump docs: use escaped double-quotes, for Windows · ThomasReport/postgres@4d6ae6a · GitHub
[go: up one dir, main page]

Skip to content

Commit 4d6ae6a

Browse files
committed
pg_dump docs: use escaped double-quotes, for Windows
On Unix, you can embed double-quotes in single-quotes, and via versa. However, on Windows, you can only escape double-quotes in double-quotes, so use that in the pg_dump -t/table example. Backpatch to 9.3. Report from Mike Toews
1 parent 95ffbce commit 4d6ae6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/ref/pg_dump.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
12241224
like
12251225

12261226
<screen>
1227-
<prompt>$</prompt> <userinput>pg_dump -t '"MixedCaseName"' mydb &gt; mytab.sql</userinput>
1227+
<prompt>$</prompt> <userinput>pg_dump -t "\"MixedCaseName\"" mydb &gt; mytab.sql</userinput>
12281228
</screen></para>
12291229

12301230
</refsect1>

0 commit comments

Comments
 (0)
0