RE: ON CONFLICT DO NOTHING on pg_dump - Mailing list pgsql-hackers

From Ideriha, Takeshi
Subject RE: ON CONFLICT DO NOTHING on pg_dump
Date
Msg-id 4E72940DA2BF16479384A86D54D0988A6F14E2E7@G01JPEXMBKW04
Whole thread Raw
In response to Re: ON CONFLICT DO NOTHING on pg_dump  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
>I noticed one more thing: pg_dumpall.c doesn't really need to prohibit
>--on-conflict-do-nothing without --insert.  Its existing validation rejects illegal
>combinations of the settings that are *not* passed on to pg_dump.  It seems OK to
>just pass those on and let pg_dump complain.  For example, if you say "pg_dumpall
>--data-only --schema-only", it's pg_dump that complains, not pg_dumpall.  I think we
>should do the same thing here.

Thank you for the clarification. I didn't give thought to pg_dumpall internally running pg_dump.

>Pushed, with those changes.
Thanks!

pgsql-hackers by date:

Previous
From: Christophe Pettus
Date:
Subject: Re: requested timeline ... does not contain minimum recovery point...
Next
From: Andres Freund
Date:
Subject: Re: requested timeline ... does not contain minimum recovery point...