Re: how can I change a btree index into a hash index? - Mailing list pgsql-general

From Stephen Robert Norris
Subject Re: how can I change a btree index into a hash index?
Date
Msg-id 1068784335.19453.7.camel@ws12.commsecure.com.au
Whole thread Raw
In response to Re: how can I change a btree index into a hash index?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Thu, 2003-11-13 at 10:01, Tom Lane wrote:
> Mark Harrison <mh@pixar.com> writes:
> > Since these are all unique things, and will only be tested for
> > equality, I am guessing that making a hash index will be better
> > than making a btree index.
>
> You are mistaken.  If there were any real value in that, we'd offer
> an easier way to do it.
>
>             regards, tom lane

Hash indices also have locking restrictions that make them less useful
in most applications.

    Stephen


pgsql-general by date:

Previous
From: Ma Siva Kumar
Date:
Subject: Re: multibyte support [Resolved]
Next
From: Bruno Wolff III
Date:
Subject: Re: GUIDs