mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Fix ExecReScanGatherMerge.
Not surprisingly, since it'd never ever been tested, ExecReScanGatherMerge didn't work. Fix it, and add a regression test case to exercise it. Amit Kapila Discussion: https://postgr.es/m/CAA4eK1JkByysFJNh9M349u_nNjqETuEnY_y1VUc_kJiU0bxtaQ@mail.gmail.com
This commit is contained in:
@ -334,6 +334,7 @@ ExecReScanGatherMerge(GatherMergeState *node)
|
||||
ExecShutdownGatherMergeWorkers(node);
|
||||
|
||||
node->initialized = false;
|
||||
node->gm_initialized = false;
|
||||
|
||||
if (node->pei)
|
||||
ExecParallelReinitialize(node->pei);
|
||||
|
Reference in New Issue
Block a user