Re: [HACKERS] FD_SETSIZE limitation in Windows hamstringing pgbench.c

2007-10-22 Thread Magnus Hagander
On Mon, Oct 22, 2007 at 11:11:47AM +0100, Gregory Stark wrote: > > This change in pgbench.c: > > revision 1.71 > date: 2007-08-25 10:21:14 +0100; author: ishii; state: Exp; lines: +7 -2; > The upper limit for -c option of pgbench is now obtained from > (FD_SETSIZE - 10) rather than a h

[HACKERS] FD_SETSIZE limitation in Windows hamstringing pgbench.c

2007-10-22 Thread Gregory Stark
This change in pgbench.c: revision 1.71 date: 2007-08-25 10:21:14 +0100; author: ishii; state: Exp; lines: +7 -2; The upper limit for -c option of pgbench is now obtained from (FD_SETSIZE - 10) rather than a hardwired number. Turns out to be, perhaps, ill-advised on Windows where FD_S