Re: Geometric Elimination - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Geometric Elimination
Date
Msg-id 3726.1250865666@sss.pgh.pa.us
Whole thread Raw
In response to Re: Geometric Elimination  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> If you want index support, you need to go the whole way, and setup an
> appropriate operator class for (box,point).

No, I think he's doing the right thing by adding these cross-type
operators "loose" in the opfamily.  An operator class is the subset
of an opfamily that's *essential* to the functioning of an index
on a particular datatype, and cross-type ops almost by definition
are not that.  I suspect the missing piece is to add cases to the
relevant consistent() function(s).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: GRANT ON ALL IN schema
Next
From: Tom Lane
Date:
Subject: Re: UPDATE ... SET (a, b, c) = (expr)