pgsql: Remove bogus entries in gist point_ops operator class. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove bogus entries in gist point_ops operator class.
Date
Msg-id E1Rc42M-0005dw-5F@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove bogus entries in gist point_ops operator class.

These entries could never be matched to an index clause because they don't
have the index datatype on the left-hand side of the operator.  (Their
commutators are in the opclass, which is sensible, but that doesn't mean
these operators should be.)  Spotted by a test that I recently added to
opr_sanity to catch exactly this type of thinko.  AFAICT there is no code
in gistproc.c that is specifically meant to cover these cases, so nothing
to remove at that level.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5577ca5bfb33bf7f31a03fc5b42a56de400e464e

Modified Files
--------------
src/include/catalog/catversion.h         |    2 +-
src/include/catalog/pg_amop.h            |    3 ---
src/test/regress/expected/opr_sanity.out |   10 ++--------
3 files changed, 3 insertions(+), 12 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix some long-obsolete references to XLogOpenRelation.
Next
From: Tom Lane
Date:
Subject: pgsql: Defend against null scankeys in spgist searches.