Re: non-btree primary key

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Roman Neuhauser <neuhauser(at)sigpipe(dot)cz>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: non-btree primary key
Date: 2006-02-25 21:36:35
Message-ID: 14091.1140903395@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Roman Neuhauser <neuhauser(at)sigpipe(dot)cz> writes:
> looks like PostgreSQL (8.0/8.1) has no support for using
> other-than-btree indexes for primary keys. Is there a (perhaps
> un(der)documented) way to specify the index type?

No --- at present this is not possible because btree is the only index
type that implements uniqueness checking. If that got fixed, we might
consider adding syntax to allow PK specification of index type.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jebus 2006-02-25 21:51:37 createuser permssion for group
Previous Message Karsten Hilbert 2006-02-25 19:38:48 Re: How to specify infinity for intervals ?