Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f04b8a8

Browse files
committed
Increase FD_SETSIZE on Win32 to allow for more than 54 clients.
Per Greg Stark & Dave Page
1 parent 6088bfb commit f04b8a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contrib/pgbench/pgbench.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.72 2007/09/27 20:39:43 tgl Exp $
2+
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.73 2007/10/22 10:40:47 mha Exp $
33
*
44
* pgbench: a simple benchmark program for PostgreSQL
55
* written by Tatsuo Ishii
@@ -24,6 +24,8 @@
2424
#include <ctype.h>
2525

2626
#ifdef WIN32
27+
#undef FD_SETSIZE
28+
#define FD_SETSIZE 1024
2729
#include <win32.h>
2830
#else
2931
#include <sys/time.h>

0 commit comments

Comments
 (0)