If we find at the bottom of test_config_settings() that we have not been able to run successfully at all (i.e. status != 0 at about line 1183 of initdb.c) is there any point in continuing? Don't we know that we are bound to fail at the template1 creation stage? Maybe we should just exit nicely when we do know this. cheers andrew
Andrew Dunstan <andrew@dunslane.net> writes:
> If we find at the bottom of test_config_settings() that we have not been
> able to run successfully at all (i.e. status != 0 at about line 1183 of
> initdb.c) is there any point in continuing? Don't we know that we are
> bound to fail at the template1 creation stage? Maybe we should just exit
> nicely when we do know this.
Nope: since we've been suppressing stderr, "exit nicely" here would
translate as "refuse to provide any information about the problem".
The existing behavior is just fine.
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера