]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Revise hash join and hash aggregation code to use the same datatype-
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 22 Jun 2003 22:04:55 +0000 (22:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 22 Jun 2003 22:04:55 +0000 (22:04 +0000)
commitbff0422b6c8f65b2f8210d8690a7f63f8d6e2782
treea3ec649b7c6251efdae2be1b923462979ad7184e
parent0dda75f6eb4bb9d65a7c2ad729fbf21d616c1bb1
Revise hash join and hash aggregation code to use the same datatype-
specific hash functions used by hash indexes, rather than the old
not-datatype-aware ComputeHashFunc routine.  This makes it safe to do
hash joining on several datatypes that previously couldn't use hashing.
The sets of datatypes that are hash indexable and hash joinable are now
exactly the same, whereas before each had some that weren't in the other.
27 files changed:
doc/src/sgml/catalogs.sgml
doc/src/sgml/xfunc.sgml
doc/src/sgml/xoper.sgml
src/backend/access/hash/hashfunc.c
src/backend/executor/execGrouping.c
src/backend/executor/nodeAgg.c
src/backend/executor/nodeHash.c
src/backend/executor/nodeHashjoin.c
src/backend/executor/nodeSubplan.c
src/backend/utils/adt/varchar.c
src/backend/utils/cache/catcache.c
src/backend/utils/cache/lsyscache.c
src/include/access/hash.h
src/include/catalog/catversion.h
src/include/catalog/pg_am.h
src/include/catalog/pg_amop.h
src/include/catalog/pg_amproc.h
src/include/catalog/pg_opclass.h
src/include/catalog/pg_operator.h
src/include/catalog/pg_proc.h
src/include/executor/executor.h
src/include/executor/hashjoin.h
src/include/executor/nodeHash.h
src/include/nodes/execnodes.h
src/include/utils/lsyscache.h
src/test/regress/expected/opr_sanity.out
src/test/regress/sql/opr_sanity.sql