Re: [WIP] pg_ping utility

From: Phil Sorber <phil(at)omniti(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [WIP] pg_ping utility
Date: 2012-12-01 20:56:11
Message-ID: CADAkt-i2r_04x=71c0iErfTjzJO0hG+OVd3XQ=FCqrqaAqbQsQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 27, 2012 at 9:43 AM, Phil Sorber <phil(at)omniti(dot)com> wrote:
> On Tue, Nov 27, 2012 at 8:45 AM, Michael Paquier
> <michael(dot)paquier(at)gmail(dot)com> wrote:
>>
>>
>> On Tue, Nov 27, 2012 at 7:35 PM, Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>
>> wrote:
>>>
>>> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
>>> > Sure, PQping is useful for this very specific use case of seeing whether
>>> > the server has finished starting up. If someone came with a plausible
>>>
>>> Rename the utility to pg_isready?
>>
>> +1, the current version of the patch is already fitted for that and would
>> not need extra options like the number of packages sent.
>
> I am 100% fine with this. I can make this change tomorrow.
>
>> --
>> Michael Paquier
>> http://michael.otacoo.com
>
> Sorry I haven't jumped in on this thread more, I have limited
> connectivity where I am.

Here is the updated patch. I renamed it, but using v5 to stay consistent.

Attachment Content-Type Size
pg_isready_bin_v5.diff application/octet-stream 6.6 KB
pg_isready_docs_v5.diff application/octet-stream 7.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Janes 2012-12-01 21:46:09 Re: PITR potentially broken in 9.2
Previous Message Tom Lane 2012-12-01 20:47:28 Re: PITR potentially broken in 9.2