Fix BRIN operator family definitions
The original definitions were leaving no room for cross-type operators, so queries that compared a column of one type against something of a different type were not taking advantage of the index. Fix by making the opfamilies more like the ones for Btree, and include a few cross-type operator classes. Catalog version bumped. Per complaints from Hubert Lubaczewski, Mark Wong, Heikki Linnakangas.
Showing
- src/include/catalog/catversion.h 1 addition, 1 deletionsrc/include/catalog/catversion.h
- src/include/catalog/pg_amop.h 100 additions, 32 deletionssrc/include/catalog/pg_amop.h
- src/include/catalog/pg_amproc.h 165 additions, 48 deletionssrc/include/catalog/pg_amproc.h
- src/include/catalog/pg_opclass.h 5 additions, 5 deletionssrc/include/catalog/pg_opclass.h
- src/include/catalog/pg_opfamily.h 4 additions, 9 deletionssrc/include/catalog/pg_opfamily.h
Loading
Please register or sign in to comment