Add pg_dump --on-conflict-do-nothing option.
Thomas Munro <tmunro@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_dumpall.sgml | modified | +12 −0 |
| doc/src/sgml/ref/pg_dump.sgml | modified | +12 −0 |
| src/bin/pg_dump/pg_backup.h | modified | +1 −0 |
| src/bin/pg_dump/pg_dumpall.c | modified | +5 −0 |
| src/bin/pg_dump/pg_dump.c | modified | +10 −1 |
| src/bin/pg_dump/t/001_basic.pl | modified | +6 −1 |
Documentation touched
Discussion
- ON CONFLICT DO NOTHING on pg_dump 15 messages · 2018-06-08 → 2018-07-13