Re: Long options for pg_ctl waiting

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vik Fearing <vik(at)2ndquadrant(dot)fr>
Cc: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, 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 23:56:31
Message-ID: 10458.1473292591@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Vik Fearing <vik(at)2ndquadrant(dot)fr> writes:
> On 09/08/2016 01:05 AM, Tom Lane wrote:
>> 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.)

> One could also argue that 2 out of 53 "no" options omitting the dash is
> in fact broken, and a real reason to remove them.

I do not buy that. As a counter argument, consider that removing them
would make it impossible to write a script that works with both old
and new versions of PG. That's a mighty high price to pay for what
is little more than pedantry.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-09-08 00:00:13 Re: Long options for pg_ctl waiting
Previous Message Vik Fearing 2016-09-07 23:46:03 Re: Long options for pg_ctl waiting