1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-17 06:41:24 +03:00

Add fflush() before sleeping, per Matthew O'Connor.

This commit is contained in:
Tom Lane 2003-12-08 21:51:37 +00:00
parent 1b1d2d5f31
commit 2cfbbb1078

View File

@ -1161,6 +1161,7 @@ main(int argc, char *argv[])
"%i All DBs checked in: %.0f usec, will sleep for %i secs.",
loops, diff, sleep_secs);
log_entry(logbuffer);
fflush(LOGOUTPUT);
}
sleep(sleep_secs); /* Larger Pause between outer loops */