mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
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.
This commit is contained in:
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user