diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-02-06 02:59:15 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-02-06 02:59:15 +0000 |
commit | ab05eedecc5c5b3a07ff101d29c9fef612f42996 (patch) | |
tree | 39005eb2a059051dc7458a567802315c06d5d201 /src/backend/optimizer/util/pathnode.c | |
parent | b70e536e4d82d72745a7bd71556ff7bbecb568a2 (diff) |
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 ...
Diffstat (limited to 'src/backend/optimizer/util/pathnode.c')
-rw-r--r-- | src/backend/optimizer/util/pathnode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c index 5832d145ef0..81f7c99e963 100644 --- a/src/backend/optimizer/util/pathnode.c +++ b/src/backend/optimizer/util/pathnode.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/optimizer/util/pathnode.c,v 1.137 2007/01/20 20:45:39 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/optimizer/util/pathnode.c,v 1.138 2007/02/06 02:59:12 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1070,7 +1070,7 @@ distinct_col_search(int colno, List *colnos, List *opids) * We assume hashed aggregation will work if each IN operator is marked * hashjoinable. If the IN operators are cross-type, this could conceivably * fail: the aggregation will need a hashable equality operator for the RHS - * datatype --- but it's pretty hard to conceive of a hash opclass that has + * datatype --- but it's pretty hard to conceive of a hash opfamily that has * cross-type hashing without support for hashing the individual types, so * we don't expend cycles here to support the case. We could check * get_compatible_hash_operator() instead of just op_hashjoinable(), but the |