Re: pg_ctl idempotent option
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Vik Reykja <vikreykja@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Peter Eisentraut <peter_e@gmx.net>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2013-01-15T12:53:21Z
Lists: pgsql-hackers
Vik Reykja escribió: > On Mon, Jan 14, 2013 at 4:22 PM, Tom Lane <tgl@sss.pgh.pa.us> 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? > > > > I disagree that we should dumb things down when the word means exactly what > we want and based on the rest of this thread is the only word or word > cluster that carries the desired meaning. > > I vote to keep --idempotent. Yeah, after seeing the alternatives, I agree that it seems okay, particularly given that the --help output explains the behavior in dime-a-dozen words. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services