Re: [HACKERS] Clarifying "server starting" messaging in pg_ctl startwithout --wait - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] Clarifying "server starting" messaging in pg_ctl startwithout --wait
Date
Msg-id 20161220205225.h2hdd23h27blypf2@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] Clarifying "server starting" messaging in pg_ctl start without --wait  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Ryan Murphy <ryanfmurphy@gmail.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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Clarifying "server starting" messaging in pg_ctl start without --wait
Next
From: "David G. Johnston"
Date:
Subject: Re: [HACKERS] Clarifying "server starting" messaging in pg_ctl startwithout --wait