pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add pg_dump --on-conflict-do-nothing option.
Date: Fri, 13 Jul 2018 02:00:55 +0000
Message-ID: <E1fdnOB-0001qC-S8@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/387a5cfb94f041ffe18d03ccc4063c626bb4b73e

Modified Files
--------------
doc/src/sgml/ref/pg_dump.sgml    | 12 ++++++++++++
doc/src/sgml/ref/pg_dumpall.sgml | 12 ++++++++++++
src/bin/pg_dump/pg_backup.h      |  1 +
src/bin/pg_dump/pg_dump.c        | 11 ++++++++++-
src/bin/pg_dump/pg_dumpall.c     |  5 +++++
src/bin/pg_dump/t/001_basic.pl   |  7 ++++++-
6 files changed, 46 insertions(+), 2 deletions(-)



Message-ID: <E1fdnOB-0001qC-S8@gemulon.postgresql.org>
Permalink:  ../E1fdnOB-0001qC-S8@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fdnOB-0001qC-S8@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Add pg_dump --on-conflict-do-nothing option.
  In-Reply-To: <E1fdnOB-0001qC-S8@gemulon.postgresql.org>
  References: <E1fdnOB-0001qC-S8@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox