Re: guc.c and postgresql.conf.sample constistency check

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Ron Snyder
Дата:
Сообщение: Re: guc.c and postgresql.conf.sample constistency check
Следующее
От: Katherine Ward
Дата:
Сообщение: Superficial changes for Win32