Re: Turning recovery.conf into GUCs

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Turning recovery.conf into GUCs
Дата
Msg-id 20131120131809.GB25406@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: Turning recovery.conf into GUCs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2013-11-19 22:24:19 -0500, Tom Lane wrote:
> Andres Freund <andres@2ndquadrant.com> writes:
> > On 2013-11-19 22:09:48 +0900, Michael Paquier wrote:
> >> On Tue, Nov 19, 2013 at 2:27 AM, Andres Freund <andres@2ndquadrant.com> wrote:
> >>> * Why did you change some of the recovery gucs to lowercase names, but
> >>> left out XLogRestoreCommand?
> 
> >> This was part of the former patch, perhaps you are right and keeping
> >> the names as close as possible to the old ones would make sense to
> >> facilitate maintenance across versions.
> 
> > I think lowercase is slightly more consistent with the majority of the
> > other GUCs, but if you change it you should change all the new GUC variables.
> 
> Please *don't* create any more mixed-case GUC names.  The spelling of
> TimeZone and the one or two other historical exceptions was a very
> unfortunate thing; it's confused more people than it's helped.
> Put in some underscores if you feel a need for word boundaries.

That's a misunderstanding - I was only talking about the variables below
the GUCs, no the GUC's name. The patch changed quite some variable
names, around, but left others leaving an inconsistent casing of related
variables...

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: Turning recovery.conf into GUCs
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: additional json functionality