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)
commitaf87148065a0431d8cc1694825db2f1b2d9fd258
tree8737e85a0f439dbc5981572a20968676351b1e7f
parent1819e89a0ea3503e94c6d756e5f36be931ca1889
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