pgsql/src backend/libpq/pqcomm.c include/confi ...
pgsql/src backend/libpq/pqcomm.c include/confi ...
От:
Tom Lane <tgl@hub.org>
Дата:
CVSROOT: /home/projects/pgsql/cvsroot Module name: pgsql Changes by: tgl@hub.org 01/07/11 15:03:08 Modified files: src/backend/libpq: pqcomm.c src/include : config.h.in Log message: 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.