Allow maximum number of backends to be set at configure time

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

Commit: e77b630cf0c1501008b3b72b5621f2951ef82b71
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1999-02-19T06:06:39Z
Releases: 7.1.1
Allow maximum number of backends to be set at configure time
(--with-maxbackends).  Add a postmaster switch (-N backends) that allows
the limit to be reduced at postmaster start time.  (You can't increase it,
sorry to say, because there are still some fixed-size arrays.)
Grab the number of semaphores indicated by min(MAXBACKENDS, -N) at
postmaster startup, so that this particular form of bogus configuration
is exposed immediately rather than under heavy load.

Files