Re: Long options for pg_ctl waiting

From: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>
To: Vik Fearing <vik(at)2ndquadrant(dot)fr>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Long options for pg_ctl waiting
Date: 2016-09-07 21:39:19
Message-ID: ab448e68-6420-84e1-f3a9-3d1fb4ef8bb2@archidevsys.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-09-07 21:42:26 Re: Is tuplesort_heap_siftup() a misnomer?
Previous Message Heikki Linnakangas 2016-09-07 21:36:18 Re: Parallel tuplesort (for parallel B-Tree index creation)