]> granicus.if.org Git - postgresql/commit
Fix BRIN operator family definitions
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 28 Nov 2014 21:09:19 +0000 (18:09 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 28 Nov 2014 21:09:19 +0000 (18:09 -0300)
commit816e10d80033dd74b3b76fdfd84dffb767316c54
treeeee5819c3d54792bc935cb24ec56b909efb09b2b
parentae04bf50277ae25ca741cf3322d231c7dfb4c997
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.
src/include/catalog/catversion.h
src/include/catalog/pg_amop.h
src/include/catalog/pg_amproc.h
src/include/catalog/pg_opclass.h
src/include/catalog/pg_opfamily.h