Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Tom Lane wrote:
>> Given that we only allow one default opclass for a datatype regardless
>> of schema (see DefineOpClass), it's not really necessary for
>> GetDefaultOpClass to restrict its search.
> How about doing the constrained search first, and revert to the
> unconstrained behavior if it doesn't find the desired opclass?
Seems like rather a lot of work to preserve a behavior that (AFAICS)
isn't even documented anywhere.
regards, tom lane