We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8032d76 commit c766296Copy full SHA for c766296
contrib/pg_standby/pg_standby.c
@@ -1,5 +1,5 @@
1
/*
2
- * $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.20 2009/03/18 20:30:35 heikki Exp $
+ * $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.21 2009/03/26 22:29:13 tgl Exp $
3
*
4
5
* pg_standby.c
@@ -406,7 +406,7 @@ RestoreWALFileForRecovery(void)
406
fflush(stderr);
407
}
408
409
- while (numretries < maxretries)
+ while (numretries <= maxretries)
410
{
411
rc = system(restoreCommand);
412
if (rc == 0)
0 commit comments