summaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-05-15 15:58:05 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-05-15 15:58:05 -0400
commitda05e57f70d42a41a0c6f01e2440bd3efbd972d1 (patch)
tree007c7aa798aaea90aae76043d6ab070d79f8bab5 /src/tutorial
parentf47e4ce6cea2ced5da35e49d41154a19d7b3ebed (diff)
Fix unportable setvbuf() usage in initdb.
In yesterday's commit 2dc4f011fd61501cce507be78c39a2677690d44b, I tried to force buffering of stdout/stderr in initdb to be what it is by default when the program is run interactively on Unix (since that's how most manual testing is done). This tripped over the fact that Windows doesn't support _IOLBF mode. We dealt with that a long time ago in syslogger.c by falling back to unbuffered mode on Windows. Export that solution in port.h and use it in initdb. Back-patch to 8.4, like the previous commit.
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions