]> granicus.if.org Git - postgresql/commit
Fix testing of parallel-safety of scan/join target.
authorEtsuro Fujita <efujita@postgresql.org>
Tue, 12 Mar 2019 07:21:57 +0000 (16:21 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Tue, 12 Mar 2019 07:21:57 +0000 (16:21 +0900)
commitb5afdde6a7bb777d399b20da6fb8a664a1cd2784
tree65d224968a886ee37335fc3da315796fcfb10002
parent6f918159a97acf76ee2512e44f5ed5dcaaa0d923
Fix testing of parallel-safety of scan/join target.

In commit 960df2a971 ("Correctly assess parallel-safety of tlists when
SRFs are used."), the testing of scan/join target was done incorrectly,
which caused a plan-quality problem.  Backpatch through to v11 where
the aforementioned commit went in, since this is a regression from v10.

Author: Etsuro Fujita
Reviewed-by: Robert Haas and Tom Lane
Discussion: https://postgr.es/m/5C75303E.8020303@lab.ntt.co.jp
src/backend/optimizer/plan/planner.c