Skip to content

Commit 1b5a2db

Browse files
committed
Add fflush() before sleeping, per Matthew O'Connor.
1 parent b281ea8 commit 1b5a2db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/pg_autovacuum/pg_autovacuum.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,7 @@ main(int argc, char *argv[])
11611161
"%i All DBs checked in: %.0f usec, will sleep for %i secs.",
11621162
loops, diff, sleep_secs);
11631163
log_entry(logbuffer);
1164+
fflush(LOGOUTPUT);
11641165
}
11651166

11661167
sleep(sleep_secs); /* Larger Pause between outer loops */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy