Re: "maxretries" option of pg_standby doesn't work as expected - Mailing list pgsql-hackers

From Tom Lane
Subject Re: "maxretries" option of pg_standby doesn't work as expected
Date
Msg-id 28154.1238106622@sss.pgh.pa.us
Whole thread Raw
In response to "maxretries" option of pg_standby doesn't work as expected  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
>> Set the maximum number of times to retry the copy or link command

> maxretries option of pg_standby is documented as above, but actually
> indicates the maximum number of times to *try* the copy or link command.
> So, if "-r 0" is specified, pg_standby always fails.

> Attached is the patch which adjusted the code so that maxretries actually
> indicates the number of retry.

Looks correct to me; applied to HEAD and 8.3.  Thanks!
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Review: B-Tree emulation for GIN
Next
From: Tom Lane
Date:
Subject: Re: Review: B-Tree emulation for GIN