Re: [HACKERS] [postgresql 10 beta3] unrecognized node type: 90
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Noah Misch <noah@leadboat.com>,
"Adam,
Etienne (Nokia-TECH/Issy Les Moulineaux)" <etienne.adam@nokia.com>,
PostgreSQL Bugs <pgsql-bugs@postgresql.org>,
"Duquesne,
Pierre (Nokia-TECH/Issy Les Moulineaux)" <pierre.duquesne@nokia.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-08-28T14:47:58Z
Lists: pgsql-bugs, pgsql-hackers
Amit Kapila <amit.kapila16@gmail.com> writes: > On Mon, Aug 28, 2017 at 6:34 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> If what you're complaining about is that I put back the "if >> (outerPlan->chgParam == NULL)" test to allow postponement of the >> recursive ExecReScan call, I'm afraid that it's mere wishful >> thinking that omitting that test in nodeGather did anything. > Previously outerPlan->chgParam will be NULL, so I think rescan's won't > be postponed. That seems like an unacceptably fragile assumption. Even if it happens to be true today, we would need to fix it sooner or later. (And I kinda suspect it's possible to break it today, anyway. Treating PARAM_EXEC Params as parallel-restricted seems to lock out the easiest cases, but we have param slots that don't correspond to any Param node, eg for recursive union worktables. replace_nestloop_params is also a source of PARAM_EXEC Params that won't be detected during is_parallel_safe() tests, because it happens later.) regards, tom lane
Commits
-
Separate reinitialization of shared parallel-scan state from ExecReScan.
- d6a149f4e6a1 10.0 landed
- 41b0dd987d44 11.0 landed
-
Restore test case from a2b70c89ca1a5fcf6181d3c777d82e7b83d2de1b.
- 6c2c5bea3cec 11.0 landed
- 5816ddc707e0 10.0 landed
-
Force rescanning of parallel-aware scan nodes below a Gather[Merge].
- 54eac6e8c552 10.0 landed
- 7df2c1f8daeb 11.0 landed
-
Fix ExecReScanGatherMerge.
- de1ca6919ff8 10.0 landed
- a2b70c89ca1a 11.0 landed
-
Add missing call to ExecReScanGatherMerge.
- 29990634c76a 10.0 landed
- 1295a777882b 11.0 landed