Re: how can I change a btree index into a hash index?

From: Stephen Robert Norris <srn(at)commsecure(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Mark Harrison <mh(at)pixar(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: how can I change a btree index into a hash index?
Date: 2003-11-14 04:32:16
Message-ID: 1068784335.19453.7.camel@ws12.commsecure.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 2003-11-13 at 10:01, Tom Lane wrote:
> Mark Harrison <mh(at)pixar(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2003-11-14 05:04:29 Re: GUIDs
Previous Message Ma Siva Kumar 2003-11-14 03:43:05 Re: multibyte support [Resolved]