mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
Make pg_standby's maxretries option do what one would expect. Fujii Masao
This commit is contained in:
@@ -400,7 +400,7 @@ RestoreWALFileForRecovery(void)
|
||||
fflush(stderr);
|
||||
}
|
||||
|
||||
while (numretries < maxretries)
|
||||
while (numretries <= maxretries)
|
||||
{
|
||||
rc = system(restoreCommand);
|
||||
if (rc == 0)
|
||||
|
Reference in New Issue
Block a user