Re: Usage of ProcessConfigfile in SIGHUP_Handler

Поиск
Список
Период
Сортировка
От Lakshmi Narayana Velayudam
Тема Re: Usage of ProcessConfigfile in SIGHUP_Handler
Дата
Msg-id CAA4pTnJCKav=2WYyLEc+eiQO0FEGFfrRqNsUOY4aMPynUk7H3g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Usage of ProcessConfigfile in SIGHUP_Handler  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: Usage of ProcessConfigfile in SIGHUP_Handler
Список pgsql-hackers
On Thu, Aug 22, 2024 at 8:46 PM Nathan Bossart <nathandbossart@gmail.com> wrote:

> I think this is no longer true as of v16, thanks to commit 7389aad [0].

My Bad Nathan, was looking at PG 11, 14 codes. Just to be sure, calling ProcessConfigFile is a bug from a signal handler is a bug, right? Since it uses AllocSetContextCreate & also GUC variables changes might not be visible in regular flow.

I saw the discussion of the commit but couldn't conclude from the discussion that it was changed due to ProcessConfigFIle. 

Regards,
Narayana 

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