"Jozsef Szalay" <jszalay@storediq.com> 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