Re: catalog access with reset GUCs during parallel worker startup
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: catalog access with reset GUCs during parallel worker startup |
| Дата | |
| Msg-id | 1521416.1644451001@sss.pgh.pa.us обсуждение |
| Ответ на | catalog access with reset GUCs during parallel worker startup (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: catalog access with reset GUCs during parallel worker startup
|
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> Do we really need to reset GUCs to their boot value? Particularly for
> PGC_SIGHUP variables I don't think we can do that if we want to do
> RestoreGUCState() in a transaction. It'd obviously involve a bit more code,
> but it seems entirely possible to just get rid of the reset phase?
In an EXEC_BACKEND build, they're going to start out with those
values anyway. If you're not happy about the consequences,
"skipping the reset" is not the way to improve matters.
Can we arrange to absorb the leader's values before starting the
worker's transaction, instead of inside it?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера