]> granicus.if.org Git - postgresql/commit
Add int2-vs-int8 comparison operators. These are now necessary because
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Jul 2000 05:07:49 +0000 (05:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Jul 2000 05:07:49 +0000 (05:07 +0000)
commitd2d7865b5b9b8f12e51165db6e70dfb5f10dd651
tree4f5f8eb95a8f824ac3483d3b7c547b454e526853
parentb399b862eddd26c7d5102f13368456a149441533
Add int2-vs-int8 comparison operators.  These are now necessary because
the planner may try to generate them as a result of transitivity of the
existing int2-vs-int4 and int4-vs-int8 operators.  In fact, it is now
necessary that mergejoinable cross-datatype operators form closed sets.
Add an opr_sanity regress test to detect missing operators.
src/backend/utils/adt/int8.c
src/include/catalog/pg_operator.h
src/include/catalog/pg_proc.h
src/include/utils/int8.h
src/test/regress/expected/opr_sanity.out
src/test/regress/sql/opr_sanity.sql