Re: insert on conflict postgres returning distinction

Поиск
Список
Период
Сортировка
От pinker
Тема Re: insert on conflict postgres returning distinction
Дата
Msg-id 1597249484340-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: insert on conflict postgres returning distinction  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
thank you Adrian,
the background of it is that I have already written the python script that
translates Oracle MERGE clause to Postgres INSERT ... ON CONFLICT, but in
order to be able to add DELETE part from MERGE i need to distinct those
operations. 

thank you for the idea with trigger, i haven't thought about it at the
beginning, but it does complicate the code a lot :/ not saying about
performance... 



--
Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: insert on conflict postgres returning distinction
Следующее
От: Philip Semanchuk
Дата:
Сообщение: Re: Implement a new data type