Sample Header Ad - 728x90

Does PostgreSQL btree_gin extension use btree or gin data structure?

2 votes
2 answers
2159 views
In order to define a GIN index on an array and scalar field (for example) you need to enable the btree_gin extension in PostgreSQL. Then you can define your indexes as a GIN index. However I don't understand if, under the hood, PostgreSQL is using a btree structure or a GIN structure.
Asked by collimarco (653 rep)
Jan 16, 2020, 12:08 PM
Last activity: Oct 26, 2022, 08:09 PM