提交 3363b847 编写于 作者: B Bruce Momjian

Set std error to no buffering on Win32.

上级 deb78dd8
......@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.91 2004/04/22 14:34:38 momjian Exp $
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.92 2004/05/02 04:25:45 momjian Exp $
*/
#include "postgres_fe.h"
......@@ -124,6 +124,9 @@ main(int argc, char *argv[])
}
}
#ifdef WIN32
setvbuf(stderr,NULL,_IONBF,0);
#endif
pset.cur_cmd_source = stdin;
pset.cur_cmd_interactive = false;
pset.encoding = PQenv2encoding();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册