distinguish update from insert (on conflict)

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема distinguish update from insert (on conflict)
Дата
Msg-id 20190522013428.GG4426@telsasoft.com
обсуждение исходный текст
Ответы Re: distinguish update from insert (on conflict)
Re: distinguish update from insert (on conflict)
Список pgsql-general
Is it still impossible to distinguish whether a row was inserted vs updated ?

The latest I can see is here:
https://wiki.postgresql.org/wiki/UPSERT#RETURNING_behavior

..but I'm hopeful that the 4 year old wiki page is out of date.

Justin



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

Предыдущее
От: Will Hartung
Дата:
Сообщение: Re: Loading table with indexed jsonb field is stalling
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: distinguish update from insert (on conflict)