On Wed, Jul 05, 2006 at 09:14:21PM -0400, Greg Stark wrote: > Well what was tripping me up was figuring out the operator class. I just > realized it's in the index's Relation object. > > But yes what you describe is really a problem. Even given the operator class > there's no way for me to know which strategy number to pick. There might not > be any strategy number for equals in which case I'm in trouble.
Well yes, that's an issue. Currently it's assumed by various parts of the backend that the EqualStrategy operator of a btree operator class is what you can use to decide what's equal. Although it's not really necessary, there is currently nothing else in the system that really tells you the answer to the question you ask... Have a nice day, -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > From each according to his ability. To each according to his ability to > litigate.
signature.asc
Description: Digital signature