projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8032d76
)
Make pg_standby's maxretries option do what one would expect. Fujii Masao
author
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 26 Mar 2009 22:29:13 +0000
(22:29 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 26 Mar 2009 22:29:13 +0000
(22:29 +0000)
contrib/pg_standby/pg_standby.c
patch
|
blob
|
history
diff --git
a/contrib/pg_standby/pg_standby.c
b/contrib/pg_standby/pg_standby.c
index 18d75ffaa72c2db3781f630d4bc59a7653579471..000dac5662a2ca70df93b2aca86b6e137567c347 100644
(file)
--- a/
contrib/pg_standby/pg_standby.c
+++ b/
contrib/pg_standby/pg_standby.c
@@
-1,5
+1,5
@@
/*
- * $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.2
0 2009/03/18 20:30:35 heikki
Exp $
+ * $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.2
1 2009/03/26 22:29:13 tgl
Exp $
*
*
* pg_standby.c
@@
-406,7
+406,7
@@
RestoreWALFileForRecovery(void)
fflush(stderr);
}
- while (numretries < maxretries)
+ while (numretries <
=
maxretries)
{
rc = system(restoreCommand);
if (rc == 0)