File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -688,9 +688,16 @@ PostgreSQL documentation
688
688
<term><option>--quote-all-identifiers</></term>
689
689
<listitem>
690
690
<para>
691
- Force quoting of all identifiers. This may be useful when dumping a
692
- database for migration to a future version that may have introduced
693
- additional keywords.
691
+ Force quoting of all identifiers. This option is recommended when
692
+ dumping a database from a server whose <productname>PostgreSQL</>
693
+ major version is different from <application>pg_dump</>'s, or when
694
+ the output is intended to be loaded into a server of a different
695
+ major version. By default, <application>pg_dump</> quotes only
696
+ identifiers that are reserved words in its own major version.
697
+ This sometimes results in compatibility issues when dealing with
698
+ servers of other versions that may have slightly different sets
699
+ of reserved words. Using <option>--quote-all-identifiers</> prevents
700
+ such issues, at the price of a harder-to-read dump script.
694
701
</para>
695
702
</listitem>
696
703
</varlistentry>
Original file line number Diff line number Diff line change @@ -367,9 +367,16 @@ PostgreSQL documentation
367
367
<term><option>--quote-all-identifiers</></term>
368
368
<listitem>
369
369
<para>
370
- Force quoting of all identifiers. This may be useful when dumping a
371
- database for migration to a future version that may have introduced
372
- additional keywords.
370
+ Force quoting of all identifiers. This option is recommended when
371
+ dumping a database from a server whose <productname>PostgreSQL</>
372
+ major version is different from <application>pg_dumpall</>'s, or when
373
+ the output is intended to be loaded into a server of a different
374
+ major version. By default, <application>pg_dumpall</> quotes only
375
+ identifiers that are reserved words in its own major version.
376
+ This sometimes results in compatibility issues when dealing with
377
+ servers of other versions that may have slightly different sets
378
+ of reserved words. Using <option>--quote-all-identifiers</> prevents
379
+ such issues, at the price of a harder-to-read dump script.
373
380
</para>
374
381
</listitem>
375
382
</varlistentry>
You can’t perform that action at this time.
0 commit comments