• T
    Repair performance problem in SI segment manipulations: iterating · dc6d4049
    Tom Lane 提交于
    through MAXBACKENDS array entries used to be fine when MAXBACKENDS = 64.
    It's not so cool with MAXBACKENDS = 1024 (or more!), especially not in a
    frequently-used routine like SIDelExpiredDataEntries.  Repair by making
    procState array size be the soft MaxBackends limit rather than the hard
    limit, and by converting SIGetProcStateLimit() to a macro.
    dc6d4049
ipci.c 3.6 KB