Add missing shmem size estimate for fast-path locking struct

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: c06443063f01b0996a16dea77462ac6b31eb181d
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2026-04-04T08:46:11Z
Add missing shmem size estimate for fast-path locking struct

It's been missing ever since fast-path locking was introduced. It's a
small discrepancy, about 4 kB, but let's be tidy. This doesn't seem
worth backpatching, however; in stable branches we were less precise
about the estimates and e.g. added a 10% margin to the hash table
estimates, which is usually much bigger than this discrepancy.

Files

PathChange+/−
src/backend/storage/lmgr/lock.c modified +3 −0