Fix BRIN operator family definitions
Alvaro Herrera <alvherre@alvh.no-ip.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_amop.h | modified | +100 −32 |
| src/include/catalog/pg_amproc.h | modified | +165 −48 |
| src/include/catalog/pg_opclass.h | modified | +5 −5 |
| src/include/catalog/pg_opfamily.h | modified | +4 −9 |