diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-12-08 21:51:37 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-12-08 21:51:37 +0000 |
commit | 2cfbbb10786cc555ff2c492d628e0071c8093ad1 (patch) | |
tree | 30292e9b47917535b0a08c9027eaaed1f38cf40e | |
parent | 1b1d2d5f31735c1abb35e812984208a9639a0c8a (diff) | |
download | postgresql-2cfbbb10786cc555ff2c492d628e0071c8093ad1.tar.gz postgresql-2cfbbb10786cc555ff2c492d628e0071c8093ad1.zip |
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 */ |