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