Commit d85df9ca authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add new "-N" flag to force double quotes around identifiers.

Fix missing mention of "-n" flag in synopsis.
parent 9bc35fac
...@@ -14,20 +14,20 @@ Extract a <productname>Postgres</productname> database into a script file ...@@ -14,20 +14,20 @@ Extract a <productname>Postgres</productname> database into a script file
</REFPURPOSE> </REFPURPOSE>
<REFSYNOPSISDIV> <REFSYNOPSISDIV>
<REFSYNOPSISDIVINFO> <REFSYNOPSISDIVINFO>
<DATE>1998-10-04</DATE> <DATE>1998-11-05</DATE>
</REFSYNOPSISDIVINFO> </REFSYNOPSISDIVINFO>
<SYNOPSIS> <SYNOPSIS>
pg_dump [ <replaceable class="parameter">dbname</replaceable> ] pg_dump [ <replaceable class="parameter">dbname</replaceable> ]
pg_dump [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replaceable class="parameter">port</replaceable> ] pg_dump [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replaceable class="parameter">port</replaceable> ]
[ -t <replaceable class="parameter">table</replaceable> ] [ -t <replaceable class="parameter">table</replaceable> ]
[ -f <replaceable class="parameter">outputfile</replaceable> ] [ -f <replaceable class="parameter">outputfile</replaceable> ]
[ -a ] [ -d ] [ -D ] [ -o ] [ -s ] [ -u ] [ -v ] [ -z ] [ -a ] [ -d ] [ -D ] [ -n ] [ -N ] [ -o ] [ -s ] [ -u ] [ -v ] [ -z ]
[ <replaceable class="parameter">dbname</replaceable> ] [ <replaceable class="parameter">dbname</replaceable> ]
</SYNOPSIS> </SYNOPSIS>
<REFSECT2 ID="R2-APP-PG-DUMP-1"> <REFSECT2 ID="R2-APP-PG-DUMP-1">
<REFSECT2INFO> <REFSECT2INFO>
<DATE>1998-10-04</DATE> <DATE>1998-11-05</DATE>
</REFSECT2INFO> </REFSECT2INFO>
<TITLE> <TITLE>
Inputs Inputs
...@@ -88,7 +88,17 @@ Specifies the output file. Defaults to <filename>stdout</filename>. ...@@ -88,7 +88,17 @@ Specifies the output file. Defaults to <filename>stdout</filename>.
<para> <para>
Suppress double quotes around identifiers unless absolutely necessary. Suppress double quotes around identifiers unless absolutely necessary.
This may cause trouble loading this dumped data if there are reserved words This may cause trouble loading this dumped data if there are reserved words
used for identifiers. used for identifiers.
This was the default behavior in pre-v6.4 <application>pg_dump</application>.
<varlistentry>
<term>
-N
</term>
<listitem>
<para>
Include double quotes around identifiers.
This is the default.
<varlistentry> <varlistentry>
<term> <term>
...@@ -183,7 +193,7 @@ Prompts for ...@@ -183,7 +193,7 @@ Prompts for
<REFSECT2 ID="R2-APP-PG-DUMP-2"> <REFSECT2 ID="R2-APP-PG-DUMP-2">
<REFSECT2INFO> <REFSECT2INFO>
<DATE>1998-10-04</DATE> <DATE>1998-11-05</DATE>
</REFSECT2INFO> </REFSECT2INFO>
<TITLE> <TITLE>
Outputs Outputs
...@@ -239,7 +249,7 @@ example, <application>psql</application>. ...@@ -239,7 +249,7 @@ example, <application>psql</application>.
<REFSECT1 ID="R1-APP-PG-DUMP-1"> <REFSECT1 ID="R1-APP-PG-DUMP-1">
<REFSECT1INFO> <REFSECT1INFO>
<DATE>1998-10-04</DATE> <DATE>1998-11-05</DATE>
</REFSECT1INFO> </REFSECT1INFO>
<TITLE> <TITLE>
Description Description
...@@ -267,7 +277,7 @@ in light of the limitations listed below. ...@@ -267,7 +277,7 @@ in light of the limitations listed below.
<REFSECT1 ID="R1-APP-PG-DUMP-2"> <REFSECT1 ID="R1-APP-PG-DUMP-2">
<REFSECT1INFO> <REFSECT1INFO>
<DATE>1998-10-04</DATE> <DATE>1998-11-05</DATE>
</REFSECT1INFO> </REFSECT1INFO>
<TITLE> <TITLE>
Notes Notes
...@@ -300,7 +310,7 @@ Large objects are ignored and must be dealt with manually. ...@@ -300,7 +310,7 @@ Large objects are ignored and must be dealt with manually.
<REFSECT1 ID="R1-APP-PG-DUMP-3"> <REFSECT1 ID="R1-APP-PG-DUMP-3">
<REFSECT1INFO> <REFSECT1INFO>
<DATE>1998-10-04</DATE> <DATE>1998-11-05</DATE>
</REFSECT1INFO> </REFSECT1INFO>
<TITLE> <TITLE>
Usage Usage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment