Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd85df9c

Browse files
author
Thomas G. Lockhart
committed
Add new "-N" flag to force double quotes around identifiers.
Fix missing mention of "-n" flag in synopsis.
1 parent9bc35fa commitd85df9c

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

‎doc/src/sgml/ref/pg_dump.sgml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ Extract a <productname>Postgres</productname> database into a script file
1414
</REFPURPOSE>
1515
<REFSYNOPSISDIV>
1616
<REFSYNOPSISDIVINFO>
17-
<DATE>1998-10-04</DATE>
17+
<DATE>1998-11-05</DATE>
1818
</REFSYNOPSISDIVINFO>
1919
<SYNOPSIS>
2020
pg_dump [ <replaceable class="parameter">dbname</replaceable> ]
2121
pg_dump [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replaceable class="parameter">port</replaceable> ]
2222
[ -t <replaceable class="parameter">table</replaceable> ]
2323
[ -f <replaceable class="parameter">outputfile</replaceable> ]
24-
[ -a ] [ -d ] [ -D ] [ -o ] [ -s ] [ -u ] [ -v ] [ -z ]
24+
[ -a ] [ -d ] [ -D ] [ -n ] [ -N ] [ -o ] [ -s ] [ -u ] [ -v ] [ -z ]
2525
[ <replaceable class="parameter">dbname</replaceable> ]
2626
</SYNOPSIS>
2727

2828
<REFSECT2 ID="R2-APP-PG-DUMP-1">
2929
<REFSECT2INFO>
30-
<DATE>1998-10-04</DATE>
30+
<DATE>1998-11-05</DATE>
3131
</REFSECT2INFO>
3232
<TITLE>
3333
Inputs
@@ -88,7 +88,17 @@ Specifies the output file. Defaults to <filename>stdout</filename>.
8888
<para>
8989
Suppress double quotes around identifiers unless absolutely necessary.
9090
This may cause trouble loading this dumped data if there are reserved words
91-
used for identifiers.
91+
used for identifiers.
92+
This was the default behavior in pre-v6.4 <application>pg_dump</application>.
93+
94+
<varlistentry>
95+
<term>
96+
-N
97+
</term>
98+
<listitem>
99+
<para>
100+
Include double quotes around identifiers.
101+
This is the default.
92102

93103
<varlistentry>
94104
<term>
@@ -183,7 +193,7 @@ Prompts for
183193

184194
<REFSECT2 ID="R2-APP-PG-DUMP-2">
185195
<REFSECT2INFO>
186-
<DATE>1998-10-04</DATE>
196+
<DATE>1998-11-05</DATE>
187197
</REFSECT2INFO>
188198
<TITLE>
189199
Outputs
@@ -239,7 +249,7 @@ example, <application>psql</application>.
239249

240250
<REFSECT1 ID="R1-APP-PG-DUMP-1">
241251
<REFSECT1INFO>
242-
<DATE>1998-10-04</DATE>
252+
<DATE>1998-11-05</DATE>
243253
</REFSECT1INFO>
244254
<TITLE>
245255
Description
@@ -267,7 +277,7 @@ in light of the limitations listed below.
267277

268278
<REFSECT1 ID="R1-APP-PG-DUMP-2">
269279
<REFSECT1INFO>
270-
<DATE>1998-10-04</DATE>
280+
<DATE>1998-11-05</DATE>
271281
</REFSECT1INFO>
272282
<TITLE>
273283
Notes
@@ -300,7 +310,7 @@ Large objects are ignored and must be dealt with manually.
300310

301311
<REFSECT1 ID="R1-APP-PG-DUMP-3">
302312
<REFSECT1INFO>
303-
<DATE>1998-10-04</DATE>
313+
<DATE>1998-11-05</DATE>
304314
</REFSECT1INFO>
305315
<TITLE>
306316
Usage

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp