Magnus Hagander <magnus@hagander.net> writes:
> Tom Lane wrote:
>> I still think there's absolutely no evidence suggesting that a variable
>> backoff is necessary. Given how little this code is going to be
>> exercised in the real world, how long will it take till we find out
>> if you get it wrong? Use a simple retry loop and be done with it.
> +1. Let's keep it as simple as possible for now. I doubt it's actually
> dependent on the *failed* call.
Exactly. Presumably we're waiting for some system bookkeeping to
finish. Maybe it will take more than 1 second, but we're not going
to be slowing it noticeably by trying once a second.
regards, tom lane