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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7e81a18) | patch
Still another try at fixing scanjoin_target insertion into parallel plans.
2016年6月18日 04:28:51 +0000 (00:28 -0400)
2016年6月18日 04:28:51 +0000 (00:28 -0400)
commit 598aa194af2fb7f294ae4b029494a134a44be333
Still another try at fixing scanjoin_target insertion into parallel plans.

The previous code neglected the fact that the scanjoin_target might
carry sortgroupref labelings that we need to absorb. Instead, do
create_projection_path() unconditionally, and tweak the path's cost
estimate after the fact. (I'm now convinced that we ought to refactor
the way we account for sometimes not needing a separate projection step,
but right now is not the time for that sort of cleanup.)

Problem identified by Amit Kapila, patch by me.
src/backend/optimizer/plan/planner.c diff | blob | blame | history
src/test/regress/expected/select_parallel.out diff | blob | blame | history
src/test/regress/sql/select_parallel.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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