projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6088bfb
)
Increase FD_SETSIZE on Win32 to allow for more than 54 clients.
author
Magnus Hagander
Mon, 22 Oct 2007 10:40:47 +0000
(10:40 +0000)
committer
Magnus Hagander
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 754d8fd804bb66ef030dc116b792a7366fc0b5aa..a5e57ce9550ac8ef2c179de0dbd5da047cf9d30a 100644
(file)
--- a/
contrib/pgbench/pgbench.c
+++ b/
contrib/pgbench/pgbench.c
@@
-1,5
+1,5
@@
/*
- * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.7
2 2007/09/27 20:39:43 tgl
Exp $
+ * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.7
3 2007/10/22 10:40:47 mha
Exp $
*
* pgbench: a simple benchmark program for PostgreSQL
* written by Tatsuo Ishii
@@
-24,6
+24,8
@@
#include
#ifdef WIN32
+#undef FD_SETSIZE
+#define FD_SETSIZE 1024
#include
#else
#include