RE: ON CONFLICT DO NOTHING on pg_dump

Поиск
Список
Период
Сортировка
От Ideriha, Takeshi
Тема RE: ON CONFLICT DO NOTHING on pg_dump
Дата
Msg-id 4E72940DA2BF16479384A86D54D0988A567B9429@G01JPEXMBKW04
обсуждение исходный текст
Ответ на Re: ON CONFLICT DO NOTHING on pg_dump  (Nico Williams <nico@cryptonector.com>)
Список pgsql-hackers
>> I agree with you though supporting MERGE or ON-CONFLICT-DO-UPDATE seems
>hard work.
>> Only ON-CONCLICT-DO-NOTHING use case may be narrow.
>
>Is it narrow, or is it just easy enough to add quickly?

Sorry for late replay.
I read your comment and rethought about it.
What I meant by "narrow" is that the number of people who use this new feature seems limited to me.
And I had a wrong impression that small improvements are always rejected by hackers.
But that's only the case for small improvements with huge source code modification. In short, cost/benefit ratio is low
case.

This patch have some benefits with source code change is small.
So I just wait for other people reviews.

>And by the way, you don't need MERGE.  You can just generate INSERT/
>UPDATE/DELETE statements -- MERGE is mainly an optimization on that, and could
>wait until PG has a MERGE.
Oh, thank you for clarifying this. Now I understand it.

Best regards,
Takeshi Ideriha




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: some question about _bt_getbuf
Следующее
От: Amit Khandekar
Дата:
Сообщение: Re: AtEOXact_ApplyLauncher() and subtransactions