Re: pg_ctl options checking

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org, Simon Riggs <simon(at)2ndquadrant(dot)com>
Subject: Re: pg_ctl options checking
Date: 2006-04-17 18:11:16
Message-ID: 200604171811.k3HIBGV07036@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Peter Eisentraut wrote:
> Simon Riggs wrote:
> > pg_ctl -D test -U foo start
> > pg_ctl -D test -W start
> > pg_ctl -D test -w stop
> > pg_ctl -D test -l fast stop
> > etc.. (16 possible error combinations in total now checked)
>
> I object to making these throw an error. It is very convenient to be
> able to alter the command line from start to stop to reload etc.
> without having to remove or rewrite all the options that are not really
> relevant for that particular operation.

For a command as significant as pg_ctl, I can't see how making it
_convenient_ is a good argument.

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2006-04-17 19:01:46 Re: pg_ctl options checking
Previous Message Peter Eisentraut 2006-04-17 17:09:51 Re: Documentation patch: change a name in a grammar rule