RE: ON CONFLICT DO NOTHING on pg_dump

Поиск
Список
Период
Сортировка
От Ideriha, Takeshi
Тема RE: ON CONFLICT DO NOTHING on pg_dump
Дата
Msg-id 4E72940DA2BF16479384A86D54D0988A6F14E2E7@G01JPEXMBKW04
обсуждение исходный текст
Ответ на Re: ON CONFLICT DO NOTHING on pg_dump  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Christophe Pettus
Дата:
Сообщение: Re: requested timeline ... does not contain minimum recovery point...
Следующее
От: Andres Freund
Дата:
Сообщение: Re: requested timeline ... does not contain minimum recovery point...