]> granicus.if.org Git - postgresql/commit
In initdb, don't bother trying max_connections = 10.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 8 Mar 2018 16:26:20 +0000 (11:26 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 8 Mar 2018 16:26:20 +0000 (11:26 -0500)
commit6a0b30f0401a76b3a972e366ba30aa7e49ffbf87
tree0299fa19f4392467ae77191a5b80ba16a475deef
parent4e0c743c18bf5435a4850510c5c74b3521c3e1e5
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
src/bin/initdb/initdb.c