Fix some more hashjoin-related bugs in pg_operator. Fix
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 7 Apr 1999 23:33:33 +0000 (23:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 7 Apr 1999 23:33:33 +0000 (23:33 +0000)
commit59ac7f4ed422a996d34af9c9ea1b0f7ab5216e36
treeb110ffcd295d741fb2db6912918a77488215fd95
parent4202915621a84a1cdf2f3e9edcb8fad0c01896a0
Fix some more hashjoin-related bugs in pg_operator.  Fix
hashjoin's hashFunc() so that it does the right thing with pass-by-value
data types (the old code would always return 0 for int2 or char values,
which would work but would slow things down a lot).  Extend opr_sanity
regress test to catch more kinds of errors.
src/backend/executor/nodeHash.c
src/include/catalog/pg_operator.h
src/test/regress/expected/opr_sanity.out
src/test/regress/sql/opr_sanity.sql