PostgreSQL GIN index on array of uuid

前端 未结 2 751
别那么骄傲
别那么骄傲 2020-12-25 14:37

I would like to use a GIN index on uuid[] (to have efficient membership tests for arrays of uuids). However when I try it PostgreSQL gives me an error:

2条回答
  •  [愿得一人]
    2020-12-25 15:12

    As of PostgreSQL 10 the custom operator class _uuid_ops is no longer necessary as there is now a general built-in opclass array_ops on anyarry (see: https://www.postgresql.org/docs/current/static/gin-builtin-opclasses.html)

提交回复
热议问题