Don't consider parallel append for parallel unsafe paths. Commit ab72716778 allowed Parallel Append paths to be generated for a relation that is not parallel safe. Prevent that from happening.
Initial analysis by Tom Lane. Reported-by: Rajkumar Raghuwanshi Author: Amit Kapila and Rajkumar Raghuwanshi Reviewed-by: Amit Khandekar and Robert Haas Discussion:https://postgr.es/m/CAKcux6=tpj6nj08r__nu_pmlqic0xy15fn0hvg1cprsjdd9...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/403318b71f7058ecbfb65bcc7de1eec96cd35d3f Modified Files -------------- src/backend/optimizer/path/allpaths.c | 5 ++++- src/test/regress/expected/select_parallel.out | 26 ++++++++++++++++++++++++++ src/test/regress/sql/select_parallel.sql | 9 +++++++++ 3 files changed, 39 insertions(+), 1 deletion(-)