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

From Heikki Linnakangas
Subject Re: INSERT ... ON CONFLICT syntax issues
Date
Msg-id 554A8741.4040802@iki.fi
Whole thread Raw
In response to Re: INSERT ... ON CONFLICT syntax issues  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 05/07/2015 12:18 AM, Andres Freund wrote:
> On 2015-05-07 00:10:22 +0300, Heikki Linnakangas wrote:
>> Right, that's the idea. Indexes are just an implementation detail -
>
> I think that's a distinction just about no user out there cares about.
>
>> Unfortunately you can't create a "partial constraint" - you'll have to
>> create a partial index. I wish we would fix that directly, by allowing
>> partial unique constraints.
>
> It's not just partial ones, it's also expression ones, right?

True.

- Heikki




pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: INSERT ... ON CONFLICT syntax issues
Next
From: Heikki Linnakangas
Date:
Subject: Re: INSERT ... ON CONFLICT syntax issues