aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/syscache.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-05-28 17:03:31 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-05-28 17:03:31 +0000
commitdc6d4049599031a17c94a10a5d0b1d666dfc3817 (patch)
treeeb12aa1189417f99e7bb9dde7c32fb0c4809f3e2 /src/backend/utils/cache/syscache.c
parent33c6d6099da39a87b22d4741656eece466853986 (diff)
downloadpostgresql-dc6d4049599031a17c94a10a5d0b1d666dfc3817.tar.gz
postgresql-dc6d4049599031a17c94a10a5d0b1d666dfc3817.zip
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.
Diffstat (limited to 'src/backend/utils/cache/syscache.c')
0 files changed, 0 insertions, 0 deletions