| От | Tom Lane |
|---|---|
| Тема | Re: New pg_config behavior |
| Дата | |
| Msg-id | 7647.1128433978@sss.pgh.pa.us обсуждение |
| Ответ на | New pg_config behavior (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> I have some doubts about the new pg_config behavior of printing "not recorded"
> when an item is not known. I doubt that this will cause automated users of
> this program to behave reasonably in error scenarios. I think a more
> reasonable behavior would be to use a non-zero exit status and possibly print
> a message to stderr and nothing to stdout.
Good point, although in practice that code only gets compiled in builds
with brain-dead Windows tools; I rather doubt that the resulting executable
would ever get used as you foresee. But if you want to change it, OK
with me.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера