Re: INSERT ... ON CONFLICT syntax issues - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: INSERT ... ON CONFLICT syntax issues
Date
Msg-id 20150501142255.GE30322@tamriel.snowman.net
Whole thread Raw
In response to Re: INSERT ... ON CONFLICT syntax issues  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
* Andres Freund (andres@anarazel.de) wrote:
> On the other hand it's way more convenient to specify a single
> constraint name than several columns and a predicate. I'm pretty sure
> there's situations where I a) rather live with a smaller chance of error
> during a replacement of the constraint b) if we get concurrently
> replaceable constraints the naming should be doable too.
>
> I don't see your argument strong enough to argue against allowing this
> *as an alternative*.

Agreed.
Thanks!
    Stephen

pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: INSERT ... ON CONFLICT UPDATE/IGNORE 4.0
Next
From: Robert Haas
Date:
Subject: Re: INSERT ... ON CONFLICT UPDATE/IGNORE 4.0