pgsql: Remove bogus entries in gist point_ops operator class.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Remove bogus entries in gist point_ops operator class.
Дата
Msg-id E1Rc42M-0005dw-5F@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix some long-obsolete references to XLogOpenRelation.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Defend against null scankeys in spgist searches.