Re: pg_ctl idempotent option - Mailing list pgsql-hackers

From Thom Brown
Subject Re: pg_ctl idempotent option
Date
Msg-id CAA-aLv5Z=G+zWxaPwJ5X3=6xt0K_HSseA22RpZ3X_cgBBb8=HQ@mail.gmail.com
Whole thread Raw
In response to Re: pg_ctl idempotent option  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On 14 January 2013 15:29, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > Here is a patch to add an option -I/--idempotent to pg_ctl, the result
> > of which is that pg_ctl doesn't error on start or stop if the server is
> > already running or already stopped.
>
> Idempotent is a ten-dollar word.  Can we find something that average
> people wouldn't need to consult a dictionary to understand?

--no-error perhaps?

Couldn't that be misconstrued as to suppress any type of error?

I personally can't think of something terse enough to put into a descriptive long-word option that would adequately describe the change in behaviour it provides.

--suppress-error-when-target-status-already-present   ... bit too wordy. ;)

--
Thom

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_ctl idempotent option
Next
From: Stephen Frost
Date:
Subject: Re: [PATCH] COPY .. COMPRESSED