Search Postgresql Archives

Re: GIN indexed unique constraint?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 27, 2021 at 11:18 AM Allan Kamau <kamauallan@xxxxxxxxx> 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."


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux