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

From Phil Sorber
Subject Re: [WIP] pg_ping utility
Date
Msg-id CADAkt-i2r_04x=71c0iErfTjzJO0hG+OVd3XQ=FCqrqaAqbQsQ@mail.gmail.com
Whole thread Raw
In response to Re: [WIP] pg_ping utility  (Phil Sorber <phil@omniti.com>)
Responses Re: [WIP] pg_ping utility
List pgsql-hackers
On Tue, Nov 27, 2012 at 9:43 AM, Phil Sorber <phil@omniti.com> wrote:
> On Tue, Nov 27, 2012 at 8:45 AM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>>
>>
>> On Tue, Nov 27, 2012 at 7:35 PM, Dimitri Fontaine <dimitri@2ndquadrant.fr>
>> wrote:
>>>
>>> Peter Eisentraut <peter_e@gmx.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

pgsql-hackers by date:

Previous
From: "Petr Jelinek"
Date:
Subject: Re: ALTER TABLE ... NOREWRITE option
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] make -jN check fails / unset MAKEFLAGS in pg_regress.c