Re: Output clause for Upsert aka INSERT...ON CONFLICT

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Output clause for Upsert aka INSERT...ON CONFLICT
Дата
Msg-id CAKFQuwaRnESEH=ZmqbfwzXT+twStJ-aVYjFQC9TV-=h5KeY6Cg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Output clause for Upsert aka INSERT...ON CONFLICT  (Anand Sowmithiran <anandsowmi2@gmail.com>)
Список pgsql-hackers
On Thursday, January 27, 2022, Anand Sowmithiran <anandsowmi2@gmail.com> wrote:
However, the MS SQL server MERGE command also does 'delete' using the 'when not matched' clause, is there an equivalent ?

PostgreSQL does not have a merge command feature.  Just the subset of behavior that is INSERT…on conflict

David J.

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

Предыдущее
От: Ajin Cherian
Дата:
Сообщение: Re: logical replication empty transactions
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: psql - add SHOW_ALL_RESULTS option