Re: INSERT ... ON CONFLICT syntax issues

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Peter Geoghegan <pg(at)heroku(dot)com>, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Bruce Momjian <bruce(at)momjian(dot)us>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Subject: Re: INSERT ... ON CONFLICT syntax issues
Date: 2015-05-06 21:27:29
Message-ID: 554A8741.4040802@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-05-06 21:30:37 Re: INSERT ... ON CONFLICT syntax issues
Previous Message Andres Freund 2015-05-06 21:18:24 Re: INSERT ... ON CONFLICT syntax issues