Re: non-btree primary key - Mailing list pgsql-general

From Tom Lane
Subject Re: non-btree primary key
Date
Msg-id 14091.1140903395@sss.pgh.pa.us
Whole thread Raw
In response to non-btree primary key  (Roman Neuhauser <neuhauser@sigpipe.cz>)
List pgsql-general
Roman Neuhauser <neuhauser@sigpipe.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

pgsql-general by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: How to specify infinity for intervals ?
Next
From: Jebus
Date:
Subject: createuser permssion for group