mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Add fflush() before sleeping, per Matthew O'Connor.
This commit is contained in:
		@@ -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 */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user