Add support for cross-type hashing in hashed subplans (hashed IN/NOT IN cases
Tom Lane <tgl@sss.pgh.pa.us>
Add support for cross-type hashing in hashed subplans (hashed IN/NOT IN cases that aren't turned into true joins). Since this is the last missing bit of infrastructure, go ahead and fill out the hash integer_ops and float_ops opfamilies with cross-type operators. The operator family project is now DONE ... er, except for documentation ...
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execGrouping.c | modified | +73 −11 |
| src/backend/executor/nodeSubplan.c | modified | +32 −18 |
| src/backend/optimizer/plan/subselect.c | modified | +7 −12 |
| src/backend/optimizer/util/pathnode.c | modified | +2 −2 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_amop.h | modified | +9 −1 |
| src/include/catalog/pg_operator.h | modified | +10 −10 |
| src/include/executor/executor.h | modified | +5 −1 |
| src/include/nodes/execnodes.h | modified | +20 −5 |
| src/test/regress/expected/opr_sanity.out | modified | +30 −5 |
| src/test/regress/sql/opr_sanity.sql | modified | +29 −5 |