Re: Domains and Indexes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Domains and Indexes
Date
Msg-id 23679.1029101535@sss.pgh.pa.us
Whole thread Raw
In response to Domains and Indexes  (Rod Taylor <rbt@zort.ca>)
List pgsql-hackers
Rod Taylor <rbt@zort.ca> writes:
> However, I have to wonder why GetDefaultOpClass doesn't simply use the
> first Binary Compatible opclass.

Because that would completely destroy the point of having multiple
opclasses for a datatype: you'd only do so if they *act different*.
Therefore, having the system choose one at random is a Bad Idea(tm).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Rod Taylor
Date:
Subject: Domains and Indexes
Next
From: Alvaro Herrera
Date:
Subject: Re: [COMMITTERS] pgsql-server/ oc/src/sgml/release.sgml rc/back ...