]> granicus.if.org Git - postgresql/commit
Instead of believing SOMAXCONN from the system header files (which is
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 11 Jul 2001 19:03:07 +0000 (19:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 11 Jul 2001 19:03:07 +0000 (19:03 +0000)
commit153f40067630bbea80385621ec09ac38c85d05af
treea4aa262a43141e41fcf10419db0cefacedbeda70
parentd946b2083ace11ca38468e7b02bebacfad52e3c5
Instead of believing SOMAXCONN from the system header files (which is
a lie on many Unixen), invoke listen() with MIN(MaxBackends*2, 10000).
The clamp value 10000 is configurable in config.h.in, if that proves
to be necessary --- hopefully it won't.
src/backend/libpq/pqcomm.c
src/include/config.h.in