postgresql/src/backend
Tom Lane f62d417825 Fix unportable setvbuf() usage in initdb.
In yesterday's commit 2dc4f011fd, 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.
2014-05-15 15:57:54 -04:00
..
access Fix race condition in preparing a transaction for two-phase commit. 2014-05-15 16:37:50 +03:00
bootstrap pgindent run for 9.4 2014-05-06 12:12:18 -04:00
catalog pgindent run for 9.4 2014-05-06 12:12:18 -04:00
commands pgindent run for 9.4 2014-05-06 12:12:18 -04:00
executor Improve comment for tricky aspect of index-only scans. 2014-05-06 19:27:43 -07:00
foreign Update copyright for 2014 2014-01-07 16:05:30 -05:00
lib pgindent run for 9.4 2014-05-06 12:12:18 -04:00
libpq pgindent run for 9.4 2014-05-06 12:12:18 -04:00
main pgindent run for 9.4 2014-05-06 12:12:18 -04:00
nodes pgindent run for 9.4 2014-05-06 12:12:18 -04:00
optimizer Revert "Auto-tune effective_cache size to be 4x shared buffers" 2014-05-08 20:49:38 -04:00
parser pgindent run for 9.4 2014-05-06 12:12:18 -04:00
po Translation updates 2014-05-10 22:16:59 -04:00
port pgindent run for 9.4 2014-05-06 12:12:18 -04:00
postmaster Fix unportable setvbuf() usage in initdb. 2014-05-15 15:57:54 -04:00
regex pgindent run for 9.4 2014-05-06 12:12:18 -04:00
replication Misc message style and doc fixes. 2014-05-15 14:49:11 +03:00
rewrite pgindent run for 9.4 2014-05-06 12:12:18 -04:00
snowball Prefer pg_any_to_server/pg_server_to_any over pg_do_encoding_conversion. 2014-02-23 16:59:05 -05:00
storage Fix logic bug in dsm_attach(). 2014-05-06 13:40:34 -04:00
tcop Fix failure to set ActiveSnapshot while rewinding a cursor. 2014-05-07 14:25:11 -04:00
tsearch pgindent run for 9.4 2014-05-06 12:12:18 -04:00
utils Handle duplicate XIDs in txid_snapshot. 2014-05-15 18:29:20 +03:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
Makefile Get rid of use of dlltool in Mingw builds. 2014-02-11 12:56:20 -05:00
nls.mk Add libpgcommon to backend gettext source files 2013-10-19 13:49:05 -04:00