Re: Long options for pg_ctl waiting

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Long options for pg_ctl waiting
Дата
Msg-id 4125.1473289549@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Long options for pg_ctl waiting  (Vik Fearing <vik@2ndquadrant.fr>)
Ответы Re: Long options for pg_ctl waiting  (Vik Fearing <vik@2ndquadrant.fr>)
Список pgsql-hackers
Vik Fearing <vik@2ndquadrant.fr> writes:
> On 09/07/2016 11:39 PM, Gavin Flower wrote:
>> Possibly generate warningswhen the non hyphenated form is used?

> I'm not quite sure how I got volunteered to do this work, but it's easy
> enough so I don't mind.
> Here is a new patch that emits a warning when --noclean and/or --nosync
> are used.

I'm pretty much -1 on printing a warning.  There's no ambiguity, and no
real reason for us ever to remove the old spellings.  Standardizing on
"no-" going forward makes sense, but let's not slap people's wrists for
existing usage.  (Or: if it ain't broke, don't break it.)
        regards, tom lane



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

Предыдущее
От: Vik Fearing
Дата:
Сообщение: Re: Long options for pg_ctl waiting
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: autonomous transactions