diff options
author | Peter Eisentraut | 2006-10-07 20:59:05 +0000 |
---|---|---|
committer | Peter Eisentraut | 2006-10-07 20:59:05 +0000 |
commit | 2b25e1169f44368c120931787628d51731b5cc8c (patch) | |
tree | 87e6fb85ed35301e6c574f43463ceb3accc2d6c3 /doc/src | |
parent | dc9142f4066158a0a538c59c37dd7fdb7b1f3202 (diff) |
The -X option in pg_dump was supposed to be a workaround for the lack of
portable long options. But we have had portable long options for a long
time now, so this is obsolete. Now people have added options which *only*
work with -X but not as regular long option, so I'm putting a stop to this:
-X is deprecated; it still works, but it has been removed from the
documentation, and please don't add more of them.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/perform.sgml | 4 | ||||
-rw-r--r-- | doc/src/sgml/ref/pg_dump.sgml | 5 | ||||
-rw-r--r-- | doc/src/sgml/ref/pg_dumpall.sgml | 5 | ||||
-rw-r--r-- | doc/src/sgml/ref/pg_restore.sgml | 6 | ||||
-rw-r--r-- | doc/src/sgml/release.sgml | 4 |
5 files changed, 8 insertions, 16 deletions
diff --git a/doc/src/sgml/perform.sgml b/doc/src/sgml/perform.sgml index 1fc46bd46f2..466fca8d05a 100644 --- a/doc/src/sgml/perform.sgml +++ b/doc/src/sgml/perform.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/perform.sgml,v 1.58 2006/09/16 00:30:14 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/perform.sgml,v 1.59 2006/10/07 20:59:03 petere Exp $ --> <chapter id="performance-tips"> <title>Performance Tips</title> @@ -926,7 +926,7 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse; <footnote> <para> You can get the effect of disabling foreign keys by using - the <option>-X disable-triggers</> option — but realize that + the <option>--disable-triggers</> option — but realize that that eliminates, rather than just postponing, foreign key validation, and so it is possible to insert bad data if you use it. </para> diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index 98520420a63..deafd7c9a98 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.88 2006/09/16 00:30:19 momjian Exp $ +$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.89 2006/10/07 20:59:04 petere Exp $ PostgreSQL documentation --> @@ -524,7 +524,6 @@ PostgreSQL documentation </varlistentry> <varlistentry> - <term><option>-X disable-dollar-quoting</></term> <term><option>--disable-dollar-quoting</></term> <listitem> <para> @@ -535,7 +534,6 @@ PostgreSQL documentation </varlistentry> <varlistentry> - <term><option>-X disable-triggers</></term> <term><option>--disable-triggers</></term> <listitem> <para> @@ -563,7 +561,6 @@ PostgreSQL documentation </varlistentry> <varlistentry> - <term><option>-X use-set-session-authorization</></term> <term><option>--use-set-session-authorization</></term> <listitem> <para> diff --git a/doc/src/sgml/ref/pg_dumpall.sgml b/doc/src/sgml/ref/pg_dumpall.sgml index 1106f8c4c04..31e88a985ed 100644 --- a/doc/src/sgml/ref/pg_dumpall.sgml +++ b/doc/src/sgml/ref/pg_dumpall.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.57 2006/09/16 00:30:19 momjian Exp $ +$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.58 2006/10/07 20:59:04 petere Exp $ PostgreSQL documentation --> @@ -241,7 +241,6 @@ PostgreSQL documentation </varlistentry> <varlistentry> - <term><option>-X disable-dollar-quoting</></term> <term><option>--disable-dollar-quoting</></term> <listitem> <para> @@ -252,7 +251,6 @@ PostgreSQL documentation </varlistentry> <varlistentry> - <term><option>-X disable-triggers</></term> <term><option>--disable-triggers</></term> <listitem> <para> @@ -274,7 +272,6 @@ PostgreSQL documentation </varlistentry> <varlistentry> - <term><option>-X use-set-session-authorization</></term> <term><option>--use-set-session-authorization</></term> <listitem> <para> diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml index 24f095d91c9..48552822373 100644 --- a/doc/src/sgml/ref/pg_restore.sgml +++ b/doc/src/sgml/ref/pg_restore.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.61 2006/09/16 00:30:19 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.62 2006/10/07 20:59:04 petere Exp $ --> <refentry id="APP-PGRESTORE"> <refmeta> @@ -361,7 +361,6 @@ </varlistentry> <varlistentry> - <term><option>-X disable-triggers</></term> <term><option>--disable-triggers</></term> <listitem> <para> @@ -384,7 +383,6 @@ </varlistentry> <varlistentry> - <term><option>-X use-set-session-authorization</option></term> <term><option>--use-set-session-authorization</option></term> <listitem> <para> @@ -398,7 +396,7 @@ </varlistentry> <varlistentry> - <term><option>-X no-data-for-failed-tables</></term> + <term><option>--no-data-for-failed-tables</></term> <listitem> <para> By default, table data objects are restored even if the diff --git a/doc/src/sgml/release.sgml b/doc/src/sgml/release.sgml index ec3f79aac3c..48de65d860a 100644 --- a/doc/src/sgml/release.sgml +++ b/doc/src/sgml/release.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.464 2006/10/07 03:32:28 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.465 2006/10/07 20:59:03 petere Exp $ --> <!-- Typical markup: @@ -1815,7 +1815,7 @@ For new features, add links to the documentation sections. <listitem> <para> Add <link linkend="APP-PGRESTORE"><application>pg_restore</></link> - <literal>-X no-data-for-failed-tables</> option to suppress + <literal>--no-data-for-failed-tables</> option to suppress loading data if table creation failed (the table already exists) (Martin Pitt) </para> |