Re: ON CONFLICT DO NOTHING on pg_dump

Surafel Temsgen <surafel3000@gmail.com>

From: Surafel Temesgen <surafel3000@gmail.com>
To: Dilip Kumar <dilipbalaut@gmail.com>
Cc: "Ideriha, Takeshi" <ideriha.takeshi@jp.fujitsu.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2018-06-18T12:44:25Z
Lists: pgsql-hackers

Attachments

On Sat, Jun 16, 2018 at 11:36 AM, Dilip Kumar <dilipbalaut@gmail.com> wrote:

>
> @@ -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" ?
>
> Done

regards Surafel

Commits

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