Correct value of LW_SHARED_MASK.

Andres Freund <andres@anarazel.de>

Commit: 62e503b0c29bbb9e0ac7ebce6990bf3c7c3c9a89
Author: Andres Freund <andres@anarazel.de>
Date: 2015-09-22T09:12:28Z
Releases: 9.5.0
Correct value of LW_SHARED_MASK.

The previous wrong value lead to wrong LOCK_DEBUG output, never showing
any shared lock holders.

Reported-By: Alexander Korotkov
Discussion: CAPpHfdsPmWqz9FB0AnxJrwp1=KLF0n=-iB+QvR0Q8GSmpFVdUQ@mail.gmail.com
Backpatch: 9.5, where the bug was introduced.

Files

PathChange+/−
src/backend/storage/lmgr/lwlock.c modified +1 −1