postgresql/src/backend
Tom Lane 0f47457f11 Remove our artificial PG_SOMAXCONN limit on listen queue length.
I added this in commit 153f40067, out of paranoia about kernels
possibly rejecting very large listen backlog requests.  However,
POSIX has said for decades that the kernel must silently reduce
any value it considers too large, and there's no evidence that
any current system doesn't obey that.  Let's just drop this limit
and save some complication.

While we're here, compute the request as twice MaxConnections not
twice MaxBackends; the latter no longer means what it did in 2001.

Per discussion of a report from Kevin McKibbin.

Discussion: https://postgr.es/m/CADc_NKg2d+oZY9mg4DdQdoUcGzN2kOYXBu-3--RW_hEe0tUV=g@mail.gmail.com
2022-08-23 10:15:06 -04:00
..
access Remove empty statement 2022-08-23 09:24:32 +07:00
backup Remove shadowed local variables that are new in v15 2022-08-20 11:40:44 +12:00
bootstrap Process session_preload_libraries within InitPostgres's transaction. 2022-07-25 10:27:43 -04:00
catalog Ensure that pg_auth_members.grantor is always valid. 2022-08-18 13:13:02 -04:00
commands Make role grant system more consistent with other privileges. 2022-08-22 11:35:17 -04:00
executor Avoid using list_length() to test for empty list. 2022-08-17 11:12:35 -04:00
foreign Create routine able to set single-call SRFs for Materialize mode 2022-03-07 10:26:29 +09:00
jit Improve performance of ORDER BY / DISTINCT aggregates 2022-08-02 23:11:45 +12:00
lib Fix lock assertions in dshash.c. 2022-07-11 16:43:29 +12:00
libpq Remove our artificial PG_SOMAXCONN limit on listen queue length. 2022-08-23 10:15:06 -04:00
main Fix outdated --help message for postgres -f 2022-08-15 13:36:36 +09:00
nodes Remove redundant spaces in _outA_Expr() output 2022-08-15 12:43:52 +02:00
optimizer Improve performance of adjust_appendrel_attrs_multilevel. 2022-08-18 12:36:16 -04:00
parser Make role grant system more consistent with other privileges. 2022-08-22 11:35:17 -04:00
partitioning Improve performance of adjust_appendrel_attrs_multilevel. 2022-08-18 12:36:16 -04:00
po NLS: Put list of available languages into LINGUAS files 2022-07-13 08:19:17 +02:00
port Remove configure probes for sys/ipc.h, sys/sem.h, sys/shm.h. 2022-08-14 00:09:47 +12:00
postmaster Doc: prefer sysctl to /proc/sys in docs and comments. 2022-08-23 10:15:06 -04:00
regex Remove redundant null pointer checks before free() 2022-07-03 11:47:15 +02:00
replication Add CHECK_FOR_INTERRUPTS while decoding changes. 2022-08-23 10:20:02 +05:30
rewrite Avoid using list_length() to test for empty list. 2022-08-17 11:12:35 -04:00
snowball Move snowball_create.sql creation into perl file 2022-07-18 12:24:27 -07:00
statistics Avoid using list_length() to test for empty list. 2022-08-17 11:12:35 -04:00
storage When using the WAL-logged CREATE DATABASE strategy, bulk extend. 2022-08-18 11:26:34 -04:00
tcop Remove configure probe for sys/resource.h and refactor. 2022-08-14 00:09:47 +12:00
tsearch Invent qsort_interruptible(). 2022-07-12 16:30:36 -04:00
utils Add BackendType for standalone backends 2022-08-22 20:22:50 -07:00
.gitignore
Makefile Move basebackup code to new directory src/backend/backup 2022-08-10 14:03:23 -04:00
common.mk
nls.mk NLS: Put list of available languages into LINGUAS files 2022-07-13 08:19:17 +02:00