Re: postgresql.conf: patch to have ParseConfigFile report all parsing errors, then bail
В списке pgsql-hackers по дате отправления:
| От | Selena Deckelmann |
|---|---|
| Тема | Re: postgresql.conf: patch to have ParseConfigFile report all parsing errors, then bail |
| Дата | |
| Msg-id | 49B69053.6040601@endpoint.com обсуждение исходный текст |
| Ответ на | Re: postgresql.conf: patch to have ParseConfigFile report all parsing errors, then bail (Simon Riggs <simon@2ndQuadrant.com>) |
| Список | pgsql-hackers |
Simon Riggs wrote: > On Tue, 2009-03-10 at 07:30 -0700, Selena Deckelmann wrote: >> A thing that could be added, however, is reporting of all invalid (as >> opposed to valid, but requires a restart to apply) parameters before >> exiting. This change requires refactoring ProcessConfigFile() more >> significantly, as the parsing and validity checks are done separately, >> and are exited with gotos. :) >> >> I haven't tried to change this yet, but was planning to. > > Can't we just do a reload, but with doit = false? That would also be cool. Like an 'apachectl configtest'. There are five places where a 'goto' is used in guc-file.l needs to be changed to make this work (in addition to adding an option to pg_ctl). It should be pretty straightforward, and I'll have a look at it tonight. -selena -- Selena Deckelmann End Point Corporation
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера