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

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

Commit: b3c3b5464d762efdf30cb9f2beb71e2d9e246011
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-01-01T19:27:15Z
Releases: 8.0.0
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