In initdb, don't bother trying max_connections = 10.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0f9c7c286271e219da5c6789d302099e79a2b7a5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2018-03-08T16:26:43Z
Releases: 10.4
In initdb, don't bother trying max_connections = 10.

The server won't actually start with that setting anymore, not since
we raised the default max_wal_senders to 10.  Per discussion, we don't
wish to back down on that default, so instead raise the effective floor
for max_connections (to 20).  It's still possible to configure a smaller
setting manually, but initdb won't set it that way.

Since that change happened in v10, back-patch to v10.

Kyotaro Horiguchi

Discussion: https://postgr.es/m/20180209.170823.42008365.horiguchi.kyotaro@lab.ntt.co.jp

Files

PathChange+/−
src/bin/initdb/initdb.c modified +1 −1

Discussion