Do an explicit fflush after writing a progress message with puts.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |