Re: [WIP] pg_ping utility
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: Phil Sorber <phil@omniti.com>, Alvaro Herrera <alvherre@2ndquadrant.com>, Dimitri Fontaine <dimitri@2ndquadrant.fr>, Peter Eisentraut <peter_e@gmx.net>, PostgreSQL-development Hackers <pgsql-hackers@postgresql.org>
Date: 2012-12-19T13:28:49Z
Lists: pgsql-hackers
On Wed, Dec 12, 2012 at 12:06 AM, Bruce Momjian <bruce@momjian.us> wrote: > On Sat, Dec 8, 2012 at 08:59:00AM -0500, Phil Sorber wrote: > > On Sat, Dec 8, 2012 at 7:50 AM, Michael Paquier > > <michael.paquier@gmail.com> wrote: > > > > > > Bruce mentionned that pg_isready could be used directly by pg_ctl -w. > > > Default as being non-verbose would make sense. What are the other > tools you > > > are thinking about? Some utilities in core? > > > > I think Bruce meant that PQPing() is used by pg_ctl -w, not that he > > would use pg_isready. > > Right. > OK cool. If you have some spare room to write a new version with verbose option as default, I'll be pleased to review it and then write it as ready for committer. -- Michael Paquier http://michael.otacoo.com