Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3363b84

Browse files
committed
Set std error to no buffering on Win32.
1 parentdeb78dd commit3363b84

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/bin/psql/startup.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.91 2004/04/22 14:34:38 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.92 2004/05/02 04:25:45 momjian Exp $
77
*/
88
#include"postgres_fe.h"
99

@@ -124,6 +124,9 @@ main(int argc, char *argv[])
124124
}
125125
}
126126

127+
#ifdefWIN32
128+
setvbuf(stderr,NULL,_IONBF,0);
129+
#endif
127130
pset.cur_cmd_source=stdin;
128131
pset.cur_cmd_interactive= false;
129132
pset.encoding=PQenv2encoding();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp