diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index 25b3d9632dd4c209010093358fbf712cd334fe77..b354ba8add05b2357f94ae5ca509e00d1383295c 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -836,9 +836,16 @@ PostgreSQL documentation <term><option>--quote-all-identifiers</></term> <listitem> <para> - Force quoting of all identifiers. This may be useful when dumping a - database for migration to a future version that may have introduced - additional keywords. + Force quoting of all identifiers. This option is recommended when + dumping a database from a server whose <productname>PostgreSQL</> + major version is different from <application>pg_dump</>'s, or when + the output is intended to be loaded into a server of a different + major version. By default, <application>pg_dump</> quotes only + identifiers that are reserved words in its own major version. + This sometimes results in compatibility issues when dealing with + servers of other versions that may have slightly different sets + of reserved words. Using <option>--quote-all-identifiers</> prevents + such issues, at the price of a harder-to-read dump script. </para> </listitem> </varlistentry> diff --git a/doc/src/sgml/ref/pg_dumpall.sgml b/doc/src/sgml/ref/pg_dumpall.sgml index 6c34c257b3c35ee14357d122038f134c41ab83ad..97168a08159d5c9ef68b0b15de9aa14c1d755abd 100644 --- a/doc/src/sgml/ref/pg_dumpall.sgml +++ b/doc/src/sgml/ref/pg_dumpall.sgml @@ -368,9 +368,16 @@ PostgreSQL documentation <term><option>--quote-all-identifiers</></term> <listitem> <para> - Force quoting of all identifiers. This may be useful when dumping a - database for migration to a future version that may have introduced - additional keywords. + Force quoting of all identifiers. This option is recommended when + dumping a database from a server whose <productname>PostgreSQL</> + major version is different from <application>pg_dumpall</>'s, or when + the output is intended to be loaded into a server of a different + major version. By default, <application>pg_dumpall</> quotes only + identifiers that are reserved words in its own major version. + This sometimes results in compatibility issues when dealing with + servers of other versions that may have slightly different sets + of reserved words. Using <option>--quote-all-identifiers</> prevents + such issues, at the price of a harder-to-read dump script. </para> </listitem> </varlistentry>