Re: Long options for pg_ctl waiting

Поиск
Список
Период
Сортировка
От Gavin Flower
Тема Re: Long options for pg_ctl waiting
Дата
Msg-id ab448e68-6420-84e1-f3a9-3d1fb4ef8bb2@archidevsys.co.nz
обсуждение исходный текст
Ответ на 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
On 08/09/16 09:08, Vik Fearing wrote:
> On 09/07/2016 10:41 PM, Alvaro Herrera wrote:
>> Gavin Flower wrote:
>>
>>> possibly '--nosync' (& any similar) should have a '--no-sync' variation
>>> added, with the '--nosync' variation documented as depreciated?
>> I agree -- I would go as far as just documenting --no-sync only and
>> keeping the --nosync one working with minimal (if any) visibility in
>> docs.
> Okay, here's a patch to do that.  I don't think it's the other patch's
> job to do it.
>
> I also changed --noclean to --no-clean, and --no-locale was already correct.

Suggest a comment along the lines "Where flags of the form --xxx have a 
negated form, then the preferred negated form is --no-xxx - and that any 
existing use of the form --noxxx should be converted to --no-xxx, as the 
non hyphenated form is now deprecated & will be removed in a future 
version of Postgres."

Possibly generate warningswhen the non hyphenated form is used?

Cheers,
Gavin




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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Parallel tuplesort (for parallel B-Tree index creation)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Is tuplesort_heap_siftup() a misnomer?