Re: record identical operator

From: Vik Fearing <vik(dot)fearing(at)dalibo(dot)com>
To: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
Cc: Kevin Grittner <kgrittn(at)ymail(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Steve Singer <steve(at)ssinger(dot)info>, Andres Freund <andres(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Hannu Krosing <hannu(at)2ndquadrant(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: record identical operator
Date: 2013-09-18 23:29:00
Message-ID: 523A373C.5080702@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09/19/2013 12:55 AM, Dimitri Fontaine wrote:
>> We have, as a community, gone to a fair amount of trouble to make
>> > the concept of equality pluggable and allow multiple types of
>> > equality per type. To me it seems the perfect tool to solve this
>> > problem. Why the fuss?
> Because I don't understand why you need another equality than the
> default btree one, certainly.

Basically because 'word'::citext and 'Word'::citext are the same to your
brain but not to your eyeballs.

Unique indexes, for example, only need to please your brain. Matviews
need to please your eyeballs.

--
Vik

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Johnston 2013-09-18 23:36:27 Re: Not In Foreign Key Constraint
Previous Message Dimitri Fontaine 2013-09-18 22:55:00 Re: record identical operator