| От | Tom Lane |
|---|---|
| Тема | Re: guc.c and postgresql.conf.sample constistency check |
| Дата | |
| Msg-id | 5803.1023718693@sss.pgh.pa.us обсуждение |
| Ответ на | Re: guc.c and postgresql.conf.sample constistency check (Ron Snyder <snyder@roguewave.com>) |
| Список | pgsql-patches |
Ron Snyder <snyder@roguewave.com> writes:
>> The catch is that some of these options (lc_*) are supposed
>> to be absent,
>> so it's not as easy as it seems.
> Hmm. Are you saying that lc_* are being pulled out of code, so shouldn't be
> in postgresql.conf.sample, or that they're staying in code but still
> shouldn't be in postgresql.conf.sample?
The lc_ items are actually inserted into postgresql.conf by initdb, so
they don't belong in the sample file. There are a couple other items
that are deliberately undocumented (PreAuthDelay for one). I think your
tool might be useful for catching unintentional omissions, but it'd have
to be tweaked to have a list of the intentional omissions.
> Here's a bit from guc.h:
It's generally unhelpful to quote a comment at its author ;-)
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера