"Jozsef Szalay" <[EMAIL PROTECTED]> writes:
> Could someone please help me out with an example on how to define an
> operator and operator class that supports hash joins?
Well, for starters, only the equality operator should be marked HASHES,
and the support function for a hash opclass is completely different from
the one for a btree opclass.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match