Re: BRIN Usage - Mailing list pgsql-general

From David Rowley
Subject Re: BRIN Usage
Date
Msg-id CAKJS1f_NHs0a84g8HiVq=qoK5sa0Kk=erMonoeCFQjix-wv1DQ@mail.gmail.com
Whole thread Raw
In response to BRIN Usage  (Tom Smith <tomsmith1989sk@gmail.com>)
Responses Re: BRIN Usage
List pgsql-general


On 18/02/2016 9:34 am, "Tom Smith" <tomsmith1989sk@gmail.com> wrote:
>
> Hi:
>
> I feel it is a stupid question.
>
> Can  BRIN index enforce uniqueness?
> My issue is
> the column I'd like to apply BRIN index  also needs to be unique
> (think of timestamp as primary key).

Only btree supports unique.
Is there a special reason not to use btree? I'm also finding it hard to imagine a case where a timestamp primary key is a good idea.

pgsql-general by date:

Previous
From: proj@free.fr
Date:
Subject: Pgsql troubleshooting & Iscsi
Next
From: Alberto Cabello Sánchez
Date:
Subject: Re: Pgsql troubleshooting & Iscsi