Re: [WIP] pg_ping utility

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Phil Sorber <phil(at)omniti(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [WIP] pg_ping utility
Date: 2012-12-11 15:06:50
Message-ID: 20121211150650.GA22377@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(dot)paquier(at)gmail(dot)com> wrote:
> > On Fri, Dec 7, 2012 at 12:56 PM, Phil Sorber <phil(at)omniti(dot)com> wrote:
> >>
> >> Something I was just thinking about while testing this again. I
> >> mentioned the issue before about someone meaning to put -v and putting
> >> -V instead and it being a potential source of problems. What about
> >> making verbose the default and removing -v and adding -q to make it
> >> quiet? This would also match other tools behavior. I want to get this
> >> wrapped up and I am fine with it as is, but just wanted to ask what
> >> others thought.
> >
> > 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.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ibrar Ahmed 2012-12-11 15:07:18 Re: Review: create extension default_full_version
Previous Message Fujii Masao 2012-12-11 15:04:34 Re: [BUG?] lag of minRecoveryPont in archive recovery