Repair performance problem in SI segment manipulations: iterating

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

Commit: dc6d4049599031a17c94a10a5d0b1d666dfc3817
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1999-05-28T17:03:31Z
Releases: 7.1.1
Repair performance problem in SI segment manipulations: iterating
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.

Files