| От | Tom Lane |
|---|---|
| Тема | Re: Warning on certain configuration file changes |
| Дата | |
| Msg-id | 25972.1136608707@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Warning on certain configuration file changes (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> I have developed a patch that writes a warning in the server log when a user
> changes a restart-only parameter in the configuration file and does a reload.
> The problem is that you will see this warning once for each running server
> process (unless you sent the HUP signal only to a specific process). Do
> people feel that the warning should only be written once by the postmaster
> process?
Yes. There is precedent already, see the existing code in
ProcessConfigFile:
/* * To avoid cluttering the log, only the postmaster bleats loudly * about problems with the
configfile. */ elevel = IsUnderPostmaster ? DEBUG2 : LOG;
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера