Обсуждение: pgsql: Clean up initdb's code for selecting max_connections and

Поиск
Список
Период
Сортировка

pgsql: Clean up initdb's code for selecting max_connections and

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Clean up initdb's code for selecting max_connections and shared_buffers
a little bit, and set the minimum buffers-per-connection ratio to 10 not
5.  I folded the two test routines into one to counteract the illusion
that the tests can be twiddled independently, and added some documentation
pointing out the necessary connection between the sets of values tested.
Fixes strange choices of parameters that I noticed CVS tip making on
Darwin with Apple's undersized default SHMMAX.

Modified Files:
--------------
    pgsql/src/bin/initdb:
        initdb.c (r1.102 -> r1.103)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c.diff?r1=1.102&r2=1.103)