projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa8d752
)
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
|
blame
|
history
diff --git
a/contrib/pg_standby/pg_standby.c
b/contrib/pg_standby/pg_standby.c
index 45ce587a04e855f67b230aa4e75c6e27751e2f17..ddf2391cb6f2a744752745cc02b3cb8e69c9541b 100644
(file)
--- a/
contrib/pg_standby/pg_standby.c
+++ b/
contrib/pg_standby/pg_standby.c
@@
-406,7
+406,7
@@
RestoreWALFileForRecovery(void)
fflush(stderr);
}
- while (numretries < maxretries)
+ while (numretries <
=
maxretries)
{
rc = system(restoreCommand);
if (rc == 0)