Re: [PATCH] pg_isready (was: [WIP] pg_ping utility) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] pg_isready (was: [WIP] pg_ping utility)
Date
Msg-id 21971.1358962065@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] pg_isready (was: [WIP] pg_ping utility)  (Phil Sorber <phil@omniti.com>)
Responses Re: [PATCH] pg_isready (was: [WIP] pg_ping utility)
List pgsql-hackers
Phil Sorber <phil@omniti.com> writes:
> On Wed, Jan 23, 2013 at 11:07 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> [rhaas pgsql]$ pg_isready -h www.google.com
>> <grows old, dies>

> Do you think we should have a default timeout, or only have one if
> specified at the command line?

+1 for default timeout --- if this isn't like "ping" where you are
expecting to run indefinitely, I can't see that it's a good idea for it
to sit very long by default, in any circumstance.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Phil Sorber
Date:
Subject: Re: [PATCH] pg_isready (was: [WIP] pg_ping utility)
Next
From: Tom Lane
Date:
Subject: Re: BUG #6510: A simple prompt is displayed using wrong charset