• Tom Lane's avatar
    Repair performance problem in SI segment manipulations: iterating · dc6d4049
    Tom Lane authored
    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
sinvaladt.h 3.85 KB