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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 09adc9a) | patch
Fix parallel-safety code for parallel aggregation.
Tue, 5 Apr 2016 20:06:15 +0000 (16:06 -0400)
Tue, 5 Apr 2016 20:06:15 +0000 (16:06 -0400)
commit 41ea0c23761ca108e2f08f6e3151e3cb1f9652a1
Fix parallel-safety code for parallel aggregation.

has_parallel_hazard() was ignoring the proparallel markings for
aggregates, which is no good. Fix that. There was no way to mark
an aggregate as actually being parallel-safe, either, so add a
PARALLEL option to CREATE AGGREGATE.

Patch by me, reviewed by David Rowley.
doc/src/sgml/ref/create_aggregate.sgml diff | blob | blame | history
src/backend/catalog/pg_aggregate.c diff | blob | blame | history
src/backend/commands/aggregatecmds.c diff | blob | blame | history
src/backend/commands/functioncmds.c diff | blob | blame | history
src/backend/optimizer/util/clauses.c diff | blob | blame | history
src/include/catalog/pg_aggregate.h diff | blob | blame | history
src/test/regress/expected/create_aggregate.out diff | blob | blame | history
src/test/regress/sql/create_aggregate.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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