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
In response to
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2009-08-21 15:03:56|
|Subject: Re: UPDATE ... SET (a, b, c) = (expr) |
|Previous:||From: Tom Lane||Date: 2009-08-21 14:26:50|
|Subject: Re: GRANT ON ALL IN schema |