Re: Catching unique_violation exception on specific column/index - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: Catching unique_violation exception on specific column/index
Date
Msg-id 5543f51d-870f-bae7-4f87-348819307d46@a-kretschmer.de
Whole thread Raw
In response to Re: Catching unique_violation exception on specific column/index  (Alexey Dokuchaev <danfe@nsu.ru>)
List pgsql-general

Am 11.06.2018 um 12:58 schrieb Alexey Dokuchaev:
>> What's wrong with:
>>
>>    INSERT ...
>>    ON CONFLICT (foo_key) DO NOTHING
> Nothing I guess, except that it is available since 9.5 (right?), and I try
> to stay compatible with 9.3.  Sorry for not saying this in the first place.
>
> ./danfe
>

... 9.3 will be out of support soon


Regards, Andreas

-- 
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com



pgsql-general by date:

Previous
From: Alexey Dokuchaev
Date:
Subject: Re: Catching unique_violation exception on specific column/index
Next
From: Alexey Dokuchaev
Date:
Subject: Re: Catching unique_violation exception on specific column/index