>rc/bin/pgbench/pgbench.c, the function add_socket_to_set: >if (fd < 0 || fd >= FD_SETSIZE) >{ >/* >* Doing a hard exit here is a bit grotty, but it doesn't seem worth >* complicating the API to make it less grotty. >*/ >pg_log_fatal("too many client connections for select()"); >exit(1); >}
It seems to me that the limit is hardcode in, src/backend/port/win32/socket.c