Re: GIN indexed unique constraint?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: GIN indexed unique constraint?
Дата
Msg-id CAKFQuwYZ1TgtN0KRxbFxJofDQub93ay9SmHPNV3t1rP45xGy1w@mail.gmail.com
обсуждение исходный текст
Ответ на GIN indexed unique constraint?  (Allan Kamau <kamauallan@gmail.com>)
Ответы Re: GIN indexed unique constraint?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Sun, Jun 27, 2021 at 11:18 AM Allan Kamau <kamauallan@gmail.com> wrote:
Is it possible to declare a UNIQUE constraint that uses GIN indexing?


Doesn't seem to be possible.  The btree_gin extension would provide the necessary code but it states explicitly that:

"... and they lack one major feature of the standard B-tree code: the ability to enforce uniqueness."

В списке pgsql-general по дате отправления:

Предыдущее
От: Allan Kamau
Дата:
Сообщение: GIN indexed unique constraint?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: GIN indexed unique constraint?