*** pgsql/contrib/pg_standby/pg_standby.c 2009/03/18 20:30:36 1.10.2.5 --- pgsql/contrib/pg_standby/pg_standby.c 2009/03/26 22:29:20 1.10.2.6 *************** RestoreWALFileForRecovery(void) *** 400,406 **** fflush(stderr); } ! while (numretries < maxretries) { rc = system(restoreCommand); if (rc == 0) --- 400,406 ---- fflush(stderr); } ! while (numretries <= maxretries) { rc = system(restoreCommand); if (rc == 0)