Re: Clarifying "server starting" messaging in pg_ctl start without --wait

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ryan Murphy <ryanfmurphy(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Clarifying "server starting" messaging in pg_ctl start without --wait
Date: 2016-12-20 20:52:25
Message-ID: 20161220205225.h2hdd23h27blypf2@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Ryan Murphy <ryanfmurphy(at)gmail(dot)com> writes:
> > I'm concerned some new users may not understand this behavior of pg_ctl, so
> > I wanted to suggest that we add some additional messaging after "server
> > starting" - something like:
>
> > $ pg_ctl -D datadir -l logfile start
> > server starting
> > (to wait for confirmation that server actually started, try pg_ctl again
> > with --wait)
>
> That seems annoyingly verbose and nanny-ish. Perhaps we could get the
> point across like this:
>
> $ pg_ctl -D datadir -l logfile start
> requested server to start

+1, but also +1 to making --wait the default. Extra points if systemd
start scripts are broken by the change ;-)

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2016-12-20 20:55:10 Re: Clarifying "server starting" messaging in pg_ctl start without --wait
Previous Message Tom Lane 2016-12-20 20:49:32 Re: Clarifying "server starting" messaging in pg_ctl start without --wait