The number isn't hardcoded at all (except for the warning on gygwin if you
choose some high value) - you can choose whatever value you like at run time
(even 1). This will be documented.
10 works for me on my XP-HE/cygwin installation, though. YMMV I guess.
cheers
andrew
----- Original Message -----
From: "Jason Tishler" <jason@tishler.net>
To: "Andrew Dunstan" <andrew@dunslane.net>
Cc: "PG Patches" <pgsql-patches@postgresql.org>
Sent: Wednesday, October 29, 2003 8:40 AM
Subject: Re: [PATCHES] "make check" improvement for cygwin
> Andrew,
>
> > > > Something like this?
> > > > make MAX_CONNECTIONS=10 check
>
> AFAICT, non-server Windows versions have a listen backlog of 5:
>
> http://support.microsoft.com/support/kb/articles/Q127/1/44.asp
>
http://216.239.57.104/search?q=cache:Ll4KYYj_BB8J:www.microsoft.com/windows2000/docs/tcpip2000.doc+site:microsoft.com+listen+backlog+winsock&hl=en&ie=UTF-8
>
> So, I would suggest using "5" as the magic number instead of "10".
>
> Anyway, I really appreciate you contributing this patch.
>
> Thanks,
> Jason
>
> --
> PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
> Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)