mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Add pg_dump --with-{schema|data|statistics} options.
By adding the positive variants of options, in addition to the negative variants that already exist, users can be explicit about what pg_dump should produce. Discussion: https://postgr.es/m/bd0513e4b1ea2b2f2d06f02720c6579711cb62a6.camel@j-davis.com Reviewed-by: Corey Huinker <corey.huinker@gmail.com> Reviewed-by: Andres Freund <andres@anarazel.de>
This commit is contained in:
@ -1232,6 +1232,33 @@ PostgreSQL documentation
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--with-data</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Dump data. This is the default.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--with-schema</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Dump schema (data definitions). This is the default.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--with-statistics</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Dump statistics. This is the default.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--on-conflict-do-nothing</option></term>
|
||||
<listitem>
|
||||
|
@ -560,6 +560,33 @@ exclude database <replaceable class="parameter">PATTERN</replaceable>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--with-data</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Dump data. This is the default.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--with-schema</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Dump schema (data definitions). This is the default.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--with-statistics</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Dump statistics. This is the default.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--no-unlogged-table-data</option></term>
|
||||
<listitem>
|
||||
|
@ -805,6 +805,33 @@ PostgreSQL documentation
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--with-data</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Dump data. This is the default.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--with-schema</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Dump schema (data definitions). This is the default.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--with-statistics</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Dump statistics. This is the default.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--section=<replaceable class="parameter">sectionname</replaceable></option></term>
|
||||
<listitem>
|
||||
|
Reference in New Issue
Block a user