Do an explicit fflush after writing a progress message with puts.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8265a1d8163656cbccc8c69b22c65138e30022c0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-01-01T19:27:28Z
Releases: 7.4.2
Do an explicit fflush after writing a progress message with puts.
This ensures stdout is kept in sync with messages on stderr.
Per report from Olaf Ferger.

Files

PathChange+/−
src/bin/scripts/clusterdb.c modified +16 −13
src/bin/scripts/createdb.c modified +7 −1
src/bin/scripts/createuser.c modified +4 −1
src/bin/scripts/dropdb.c modified +4 −1
src/bin/scripts/dropuser.c modified +4 −1
src/bin/scripts/vacuumdb.c modified +20 −15