Re: [WIP] pg_ping utility - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [WIP] pg_ping utility
Date
Msg-id 20121126181452.GB23214@momjian.us
Whole thread Raw
In response to Re: [WIP] pg_ping utility  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [WIP] pg_ping utility
List pgsql-hackers
On Mon, Nov 26, 2012 at 10:26:27AM -0500, Peter Eisentraut wrote:
> On 11/23/12 9:48 AM, Michael Paquier wrote:
> > We waited a couple of days for feedback for this feature. So based on
> > all the comments provided by everybody on this thread, perhaps we should
> > move on and implement the options that would make pg_ping a better
> > wrapper for PQPing. Comments?
> 
> Personally, I still don't see the general utility of this.  For
> monitoring, psql -c 'select 1' is much more useful.  For network
> analysis, you can use network analysis tools.  The niche for pg_ping in
> between those is so narrow that I cannot see it.

I would normally agree with this analysis, but pg_ctl -w certainly need
this ping functionality, so it kind of makes sense that others might
need it too.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Suggestion for --truncate-tables to pg_restore
Next
From: Alvaro Herrera
Date:
Subject: Re: Upcoming back-branch releases