diff options
author | Tom Lane | 2003-12-08 21:51:31 +0000 |
---|---|---|
committer | Tom Lane | 2003-12-08 21:51:31 +0000 |
commit | 1b5a2dbdff40fe5dbe149a275f3c45b34b56c3c1 (patch) | |
tree | 426de6a430fdb0c85793c25d8b5a65ed3026c74b | |
parent | b281ea8cf171b0a5e553cc2051f427d76f491438 (diff) |
Add fflush() before sleeping, per Matthew O'Connor.
-rw-r--r-- | contrib/pg_autovacuum/pg_autovacuum.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/pg_autovacuum/pg_autovacuum.c b/contrib/pg_autovacuum/pg_autovacuum.c index c567c4e7f30..c3a44b8ed69 100644 --- a/contrib/pg_autovacuum/pg_autovacuum.c +++ b/contrib/pg_autovacuum/pg_autovacuum.c @@ -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 */ |