Re: pgsql: Plug more memory leaks when reloading config file.
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pgsql: Plug more memory leaks when reloading config file. |
| Дата | |
| Msg-id | 28770.1390321809@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | pgsql: Plug more memory leaks when reloading config file. (Robert Haas <rhaas@postgresql.org>) |
| Ответы |
Re: pgsql: Plug more memory leaks when reloading config file.
|
| Список | pgsql-committers |
Robert Haas <rhaas@postgresql.org> writes:
> Plug more memory leaks when reloading config file.
Hm, not too sure about this hunk:
ereport(LOG,
(errmsg("skipping missing configuration file \"%s\"",
abs_path)));
- return OK;
+ OK = true;
+ goto cleanup;
}
That's changing the semantics, no? That is, what if OK was previously
false? Seems like this coding might be masking an intended failure
report. I'd have expected just "goto cleanup" without changing OK.
regards, tom lane
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера