Re: BRIN Usage

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: BRIN Usage
Дата
Msg-id CAKJS1f_NHs0a84g8HiVq=qoK5sa0Kk=erMonoeCFQjix-wv1DQ@mail.gmail.com
обсуждение исходный текст
Ответ на BRIN Usage  (Tom Smith <tomsmith1989sk@gmail.com>)
Ответы Re: BRIN Usage  (Tom Smith <tomsmith1989sk@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: proj@free.fr
Дата:
Сообщение: Pgsql troubleshooting & Iscsi
Следующее
От: Alberto Cabello Sánchez
Дата:
Сообщение: Re: Pgsql troubleshooting & Iscsi