pgsql: Switch memory contexts in ReinitializeParallelDSM.

2025-12-16 Thread Robert Haas
Switch memory contexts in ReinitializeParallelDSM. We already do this in CreateParallelContext, InitializeParallelDSM, and LaunchParallelWorkers. I suspect the reason why the matching logic was omitted from ReinitializeParallelDSM is that I failed to realize that any memory allocation was happenin

pgsql: Switch memory contexts in ReinitializeParallelDSM.

2025-12-16 Thread Robert Haas
Switch memory contexts in ReinitializeParallelDSM. We already do this in CreateParallelContext, InitializeParallelDSM, and LaunchParallelWorkers. I suspect the reason why the matching logic was omitted from ReinitializeParallelDSM is that I failed to realize that any memory allocation was happenin

pgsql: Switch memory contexts in ReinitializeParallelDSM.

2025-12-16 Thread Robert Haas
Switch memory contexts in ReinitializeParallelDSM. We already do this in CreateParallelContext, InitializeParallelDSM, and LaunchParallelWorkers. I suspect the reason why the matching logic was omitted from ReinitializeParallelDSM is that I failed to realize that any memory allocation was happenin

pgsql: Switch memory contexts in ReinitializeParallelDSM.

2025-12-16 Thread Robert Haas
Switch memory contexts in ReinitializeParallelDSM. We already do this in CreateParallelContext, InitializeParallelDSM, and LaunchParallelWorkers. I suspect the reason why the matching logic was omitted from ReinitializeParallelDSM is that I failed to realize that any memory allocation was happenin

pgsql: Switch memory contexts in ReinitializeParallelDSM.

2025-12-16 Thread Robert Haas
Switch memory contexts in ReinitializeParallelDSM. We already do this in CreateParallelContext, InitializeParallelDSM, and LaunchParallelWorkers. I suspect the reason why the matching logic was omitted from ReinitializeParallelDSM is that I failed to realize that any memory allocation was happenin

pgsql: Switch memory contexts in ReinitializeParallelDSM.

2025-12-16 Thread Robert Haas
Switch memory contexts in ReinitializeParallelDSM. We already do this in CreateParallelContext, InitializeParallelDSM, and LaunchParallelWorkers. I suspect the reason why the matching logic was omitted from ReinitializeParallelDSM is that I failed to realize that any memory allocation was happenin