diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-03-26 22:29:20 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-03-26 22:29:20 +0000 |
commit | 9c7908b1893cf233c15f2993088b1114ba500a7f (patch) | |
tree | 1ee1003796716ef82f5630adbafe3da1b4f0692c | |
parent | 23e2497616401db1b3e66e97f482e60b55431e65 (diff) | |
download | postgresql-9c7908b1893cf233c15f2993088b1114ba500a7f.tar.gz postgresql-9c7908b1893cf233c15f2993088b1114ba500a7f.zip |
Make pg_standby's maxretries option do what one would expect. Fujii Masao
-rw-r--r-- | contrib/pg_standby/pg_standby.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_standby/pg_standby.c b/contrib/pg_standby/pg_standby.c index c4ba24a7608..edad7efb12f 100644 --- a/contrib/pg_standby/pg_standby.c +++ b/contrib/pg_standby/pg_standby.c @@ -400,7 +400,7 @@ RestoreWALFileForRecovery(void) fflush(stderr); } - while (numretries < maxretries) + while (numretries <= maxretries) { rc = system(restoreCommand); if (rc == 0) |