Re: Parallel safety for extern params
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-10-28T14:32:23Z
Lists: pgsql-hackers
Attachments
- fix_parallel_safety_for_extern_params_v2.patch (application/octet-stream) patch v2
On Sat, Oct 28, 2017 at 2:02 AM, Robert Haas <robertmhaas@gmail.com> wrote: > On Mon, Oct 16, 2017 at 12:59 PM, Amit Kapila <amit.kapila16@gmail.com> wrote: > When I tried back-porting the patch to v10 I discovered that the > plpgsql changes conflict heavily and that ripping them out all the way > produces regression failures under force_parallel_mode. I think I see > why that's happening but it's not obvious how to me how to adapt > b73f1b5c29e0ace5a281bc13ce09dea30e1b66de to the v10 code. Do you want > to have a crack at it or should we just leave this as a master-only > fix? > I think we need to make changes in exec_simple_recheck_plan to make the behavior similar to HEAD. With the attached patch, all tests passed with force_parallel_mode. -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com
Commits
-
Revert inappropriate weakening of an Assert in plpgsql.
- 16a3ae504e20 18.0 landed
-
Repair bogus handling of multi-assignment Params in upper plan levels.
- 0f7ec8d9c3ae 12.0 cited
-
Allow parallel query for prepared statements with generic plans.
- a87c0c7631d2 10.1 landed
- 682ce911f8f3 11.0 landed
-
Fix mistaken failure to allow parallelism in corner case.
- 036b6bd50365 9.6.6 landed
- 965a16fa9f8c 10.1 landed
- 639c1a6bb9ee 11.0 landed
-
Make simpler-simple-expressions code cope with a Gather plan.
- b73f1b5c29e0 11.0 cited