Re: [WIP] pg_ping utility
Phil Sorber <phil@omniti.com>
From: Phil Sorber <phil@omniti.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Bruce Momjian <bruce@momjian.us>,
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-21T19:07:20Z
Lists: pgsql-hackers
Attachments
- pg_isready_bin_v8.diff (application/octet-stream) patch v8
- pg_isready_docs_v8.diff (application/octet-stream) patch v8
On Wed, Dec 19, 2012 at 8:28 AM, Michael Paquier <michael.paquier@gmail.com> wrote: > > > 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. Added new version with default verbose and quiet option. Also updated docs to reflect changes. > -- > Michael Paquier > http://michael.otacoo.com