Skip site navigation (1) Skip section navigation (2)

Re: pg_ctl idempotent option

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Vik Reykja <vikreykja(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>,PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_ctl idempotent option
Date: 2013-01-15 12:53:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Vik Reykja escribió:
> On Mon, Jan 14, 2013 at 4:22 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > Peter Eisentraut <peter_e(at)gmx(dot)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      
PostgreSQL Development, 24x7 Support, Training & Services

In response to


pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2013-01-15 12:56:41
Subject: Re: logical changeset generation v4
Previous:From: Peter EisentrautDate: 2013-01-15 12:04:52
Subject: Re: replace plugins directory with GUC

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group