Re: insert on conflict postgres returning distinction

From: pinker <pinker(at)onet(dot)eu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: insert on conflict postgres returning distinction
Date: 2020-08-12 16:24:44
Message-ID: 1597249484340-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Philip Semanchuk 2020-08-12 16:44:21 Re: Implement a new data type
Previous Message Adrian Klaver 2020-08-12 16:01:06 Re: insert on conflict postgres returning distinction