Skip to content

Commit c766296

Browse files
committed
Make pg_standby's maxretries option do what one would expect. Fujii Masao
1 parent 8032d76 commit c766296

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/pg_standby/pg_standby.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.20 2009/03/18 20:30:35 heikki Exp $
2+
* $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.21 2009/03/26 22:29:13 tgl Exp $
33
*
44
*
55
* pg_standby.c
@@ -406,7 +406,7 @@ RestoreWALFileForRecovery(void)
406406
fflush(stderr);
407407
}
408408

409-
while (numretries < maxretries)
409+
while (numretries <= maxretries)
410410
{
411411
rc = system(restoreCommand);
412412
if (rc == 0)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy