Cross-type btree_gin comparisons
Extend btree_gin operator classes to support indexed comparisons between compatible types, including correct handling of rounding, out-of-range values, and datetime conversions.
Versions
- PostgreSQL 19 · shipped · improved · moderate · 3 commits · +2.8k / -138 lines
- PostgreSQL 18 · worked-on · improved · moderate
Threads
- [PG19] btree_gin misses rows for a timestamptz bound in the repeated DST hour
- Cross-type index comparison support in contrib/btree_gin
- BUG #17079: btree_gin and type coersion combination doesn't work
- BUG #14532: implict type case invalid in gin?
- BUG #14087: btree_gin index doesn't work on INT with POSITIVE constraint