• T
    Allow maximum number of backends to be set at configure time · e77b630c
    Tom Lane 提交于
    (--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.
    e77b630c
proc.c 24.4 KB