projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7601f7e
)
Increase FD_SETSIZE on Win32 to allow for more than 54 clients.
author
Magnus Hagander
<magnus@hagander.net>
Mon, 22 Oct 2007 10:40:47 +0000
(10:40 +0000)
committer
Magnus Hagander
<magnus@hagander.net>
Mon, 22 Oct 2007 10:40:47 +0000
(10:40 +0000)
Per Greg Stark & Dave Page
contrib/pgbench/pgbench.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pgbench/pgbench.c
b/contrib/pgbench/pgbench.c
index 0fff53e3084c9f3c68a46cdc4700f980fd3bc3f6..27b0f6c79166824659d5eb406274df9a370b659a 100644
(file)
--- a/
contrib/pgbench/pgbench.c
+++ b/
contrib/pgbench/pgbench.c
@@
-24,6
+24,8
@@
#include <ctype.h>
#ifdef WIN32
+#undef FD_SETSIZE
+#define FD_SETSIZE 1024
#include <win32.h>
#else
#include <sys/time.h>