Re: [WIP] pg_ping utility

From: Phil Sorber <phil(at)omniti(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, 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-21 19:07:20
Message-ID: CADAkt-ioujWbHb5L-X6Fh_Q7dpYMntWcOcmc5jg3gRU-4_OBKA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Dec 19, 2012 at 8:28 AM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
>
>
> On Wed, Dec 12, 2012 at 12:06 AM, Bruce Momjian <bruce(at)momjian(dot)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(dot)paquier(at)gmail(dot)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

Attachment Content-Type Size
pg_isready_bin_v8.diff application/octet-stream 7.1 KB
pg_isready_docs_v8.diff application/octet-stream 7.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Jacobson 2012-12-21 19:14:51 Re: PL/PgSQL STRICT
Previous Message Peter Geoghegan 2012-12-21 18:52:56 Re: enhanced error fields