pgsql: Clean up initdb's code for selecting max_connections and - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Clean up initdb's code for selecting max_connections and
Date
Msg-id 20051231235059.7A9F09DC881@postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Arrange to set the LC_XXX environment variables to match our
Next
From: neilc@postgresql.org (Neil Conway)
Date:
Subject: pgsql: Trim an obsolete comment: it is no longer relevant that "SELECT"