Fix comment in LockReleaseAll() on when locallock->nLock can be zero
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Fix comment in LockReleaseAll() on when locallock->nLock can be zero We reach this case also e.g. when a deadlock is detected, not only when we run out of memory. Reviewed-by: Maxim Orlov Discussion: https://www.postgresql.org/message-id/7c2090cd-a72a-4e34-afaa-6dd2ef31440e@iki.fi
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/lmgr/lock.c | modified | +2 −3 |
Discussion
- Latches vs lwlock contention 12 messages · 2022-10-28 → 2025-03-28