Re: Operator Class for Hash

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jozsef Szalay" <jszalay(at)storediq(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Operator Class for Hash
Date: 2006-04-30 16:10:56
Message-ID: 27045.1146413456@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Jozsef Szalay" <jszalay(at)storediq(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jim Fitzgerald 2006-04-30 18:28:11 Re: Select / sub select? query... help...
Previous Message Tom Lane 2006-04-30 16:07:47 Re: Is PostgreSQL an easy choice for a large CMS?