Re: pg_isready features - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: pg_isready features
Date
Msg-id 576187C9.5020806@commandprompt.com
Whole thread Raw
In response to Re: pg_isready features  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-hackers
On 06/15/2016 09:30 AM, David G. Johnston wrote:
> On Wed, Jun 15, 2016 at 12:09 PM, Jimmy <jimmyjack@gmail.com

>
>     *2. retry*
>     This is something I can do via unix script, but ideally it would be
>     nice if there would be retry mechanism. For example if I say
>     retry=30 then pg_isready would try 30x with x seconds pause in
>     between and fail only after 30 retries. This could use default
>     retry=0 (current behavior)
>
>
> And the value of this instead of setting a timeout 30x higher is?

Simplicity.

JD
 ​


-- 
Command Prompt, Inc.                  http://the.postgres.company/                        +1-503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Everyone appreciates your honesty, until you are honest with them.



pgsql-hackers by date:

Previous
From: Jimmy
Date:
Subject: Re: pg_isready features
Next
From: Imre Samu
Date:
Subject: Re: pg_isready features