Re: Parallel query: Use TopTransactionContext for ReinitializeParallelDSM()

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Parallel query: Use TopTransactionContext for ReinitializeParallelDSM()
Дата
Msg-id CA+TgmoaA6F-cev5f5J9HVCU_iAKDgU00kYxgKif2AAvmpTt9Sg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Parallel query: Use TopTransactionContext for ReinitializeParallelDSM()  (Jeevan Chalke <jeevan.chalke@enterprisedb.com>)
Список pgsql-hackers
On Wed, Dec 10, 2025 at 3:03 AM Jeevan Chalke
<jeevan.chalke@enterprisedb.com> wrote:
> Although I was unable to reproduce the reported issue, a review of the code flow confirms that to maintain
consistencywith all other Parallel Query memory allocations, the context should be switched to TopTransactionContext.
Thischange appears correct and serves as a necessary safeguard to prevent potential future race conditions. 

Committed and back-patched.

--
Robert Haas
EDB: http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления: