"Jignesh K. Shah" <J(dot)K(dot)Shah(at)Sun(dot)COM> writes:
> For 600-850 Users: that potential mislabeled CheckPointStartLock or
> LockID==12 comes from various sources where the top source (while system
> is still doing great) comes from:
> postgres`LWLockAcquire+0x1c8
> postgres`SimpleLruReadPage_ReadOnly+0xc
> postgres`TransactionIdGetStatus+0x14
That path would be taking CLogControlLock ... so you're off by at least
one. Compare the script to src/include/storage/lwlock.h.
regards, tom lane