Re: Long options for pg_ctl waiting - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Long options for pg_ctl waiting
Date
Msg-id 4125.1473289549@sss.pgh.pa.us
Whole thread Raw
In response to Re: Long options for pg_ctl waiting  (Vik Fearing <vik@2ndquadrant.fr>)
Responses Re: Long options for pg_ctl waiting  (Vik Fearing <vik@2ndquadrant.fr>)
List 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 by date:

Previous
From: Vik Fearing
Date:
Subject: Re: Long options for pg_ctl waiting
Next
From: Craig Ringer
Date:
Subject: Re: autonomous transactions