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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Clean up initdb's code for selecting max_connections and
Date: 2005-12-31 23:50:59
Message-ID: 20051231235059.7A9F09DC881@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Neil Conway 2006-01-01 01:41:42 pgsql: Trim an obsolete comment: it is no longer relevant that "SELECT"
Previous Message Tom Lane 2005-12-31 21:25:05 Re: pgsql: Arrange to set the LC_XXX environment variables to match our