]> 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:32:27 +0000 (16:32 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Tue, 12 Mar 2019 07:32:27 +0000 (16:32 +0900)
commitfd1eaf9202dc3bbd657aa1f46b787329173b261c
treef2434cb9340ed359c3dace21cb218972fd0c78da
parente7adda86ba9c8dc1d0db07d0049ccfff42082a0e
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