Thread: pgsql: Fix comment in LockReleaseAll() on when locallock->nLock can be

pgsql: Fix comment in LockReleaseAll() on when locallock->nLock can be

From
Heikki Linnakangas
Date:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1fe0466cf2cbb909b6553061620b6a6779319406

Modified Files
--------------
src/backend/storage/lmgr/lock.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)