mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Add pg_dump --on-conflict-do-nothing option.
When dumping INSERT statements, optionally add ON CONFLICT DO NOTHING. Author: Surafel Temesgen Reviewed-by: Takeshi Ideriha, Nico Williams, Dilip Kumar Discussion: https://postgr.es/m/CALAY4q-PQ9cOEzs2%2BQHK5ObfF_4QbmBaYXbZx6BGGN66Q-n8FA%40mail.gmail.com
This commit is contained in:
@@ -909,6 +909,18 @@ PostgreSQL documentation
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--on-conflict-do-nothing</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Add <literal>ON CONFLICT DO NOTHING</literal> to
|
||||
<command>INSERT</command> commands.
|
||||
This option is not valid unless <option>--inserts</option> or
|
||||
<option>--column-inserts</option> is also specified.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--quote-all-identifiers</option></term>
|
||||
<listitem>
|
||||
|
@@ -446,6 +446,18 @@ PostgreSQL documentation
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--on-conflict-do-nothing</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Add <literal>ON CONFLICT DO NOTHING</literal> to
|
||||
<command>INSERT</command> commands.
|
||||
This option is not valid unless <option>--inserts</option> or
|
||||
<option>--column-inserts</option> is also specified.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--quote-all-identifiers</option></term>
|
||||
<listitem>
|
||||
|
Reference in New Issue
Block a user