提交 c7662960 编写于 作者: T Tom Lane

Make pg_standby's maxretries option do what one would expect. Fujii Masao

上级 8032d76b
/*
* $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 $
*
*
* pg_standby.c
......@@ -406,7 +406,7 @@ RestoreWALFileForRecovery(void)
fflush(stderr);
}
while (numretries < maxretries)
while (numretries <= maxretries)
{
rc = system(restoreCommand);
if (rc == 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册