Re: ON CONFLICT DO NOTHING on pg_dump

Dilip Kumar <dilipbalaut@gmail.com>

From: Dilip Kumar <dilipbalaut@gmail.com>
To: Surafel Temesgen <surafel3000@gmail.com>
Cc: "Ideriha, Takeshi" <ideriha.takeshi@jp.fujitsu.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2018-06-16T08:36:55Z
Lists: pgsql-hackers
On Thu, Jun 14, 2018 at 4:09 PM, Surafel Temesgen <surafel3000@gmail.com> wrote:
>
>
> thank you for pointing me that i add basic test and it seems to me the rest
> of the test is covered by column_inserts test

@@ -172,6 +172,7 @@ typedef struct _dumpOptions
  char    *outputSuperuser;

  int sequence_data; /* dump sequence data even in schema-only mode */
+ int do_nothing;
 } DumpOptions;

The new structure member appears out of place, can you move up along
with other "command-line long options" ?

-- 
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com


Commits

  1. Add pg_dump --on-conflict-do-nothing option.