OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b281ea8
)
Add fflush() before sleeping, per Matthew O'Connor.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 8 Dec 2003 21:51:31 +0000
(21:51 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 8 Dec 2003 21:51:31 +0000
(21:51 +0000)
contrib/pg_autovacuum/pg_autovacuum.c
patch
|
blob
|
history
diff --git
a/contrib/pg_autovacuum/pg_autovacuum.c
b/contrib/pg_autovacuum/pg_autovacuum.c
index
c567c4e
..
c3a44b8
100644
(file)
--- 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 */