Make pg_standby's maxretries option do what one would expect. Fujii Masao
This commit is contained in:
parent
23e2497616
commit
9c7908b189
@ -400,7 +400,7 @@ RestoreWALFileForRecovery(void)
|
|||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
}
|
}
|
||||||
|
|
||||||
while (numretries < maxretries)
|
while (numretries <= maxretries)
|
||||||
{
|
{
|
||||||
rc = system(restoreCommand);
|
rc = system(restoreCommand);
|
||||||
if (rc == 0)
|
if (rc == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user