git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 3d40d5e) | patch
Teach the system how to use hashing for UNION. (INTERSECT/EXCEPT will follow,
Thu, 7 Aug 2008 01:11:52 +0000 (01:11 +0000)
Thu, 7 Aug 2008 01:11:52 +0000 (01:11 +0000)
commit 2d1d96b1cea8f67a095e8f28372af4081605f681
Teach the system how to use hashing for UNION. (INTERSECT/EXCEPT will follow,
but seem like a separate patch since most of the remaining work is on the
executor side.) I took the opportunity to push selection of the grouping
operators for set operations into the parser where it belongs. Otherwise this
is just a small exercise in making prepunion.c consider both alternatives.

As with the recent DISTINCT patch, this means we can UNION on datatypes that
can hash but not sort, and it means that UNION without ORDER BY is no longer
certain to produce sorted output.
20 files changed:
src/backend/catalog/dependency.c diff | blob | blame | history
src/backend/nodes/copyfuncs.c diff | blob | blame | history
src/backend/nodes/equalfuncs.c diff | blob | blame | history
src/backend/nodes/outfuncs.c diff | blob | blame | history
src/backend/nodes/readfuncs.c diff | blob | blame | history
src/backend/optimizer/plan/planner.c diff | blob | blame | history
src/backend/optimizer/prep/prepunion.c diff | blob | blame | history
src/backend/optimizer/util/clauses.c diff | blob | blame | history
src/backend/optimizer/util/pathnode.c diff | blob | blame | history
src/backend/optimizer/util/tlist.c diff | blob | blame | history
src/backend/parser/analyze.c diff | blob | blame | history
src/backend/parser/parse_clause.c diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/nodes/parsenodes.h diff | blob | blame | history
src/include/optimizer/tlist.h diff | blob | blame | history
src/include/parser/parse_clause.h diff | blob | blame | history
src/test/regress/expected/copyselect.out diff | blob | blame | history
src/test/regress/expected/union.out diff | blob | blame | history
src/test/regress/sql/copyselect.sql diff | blob | blame | history
src/test/regress/sql/union.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /