Martijn van Oosterhout <kleptog(at)svana(dot)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