]> granicus.if.org Git - postgresql/commit
Correct value of LW_SHARED_MASK.
authorAndres Freund <andres@anarazel.de>
Tue, 22 Sep 2015 09:05:48 +0000 (11:05 +0200)
committerAndres Freund <andres@anarazel.de>
Tue, 22 Sep 2015 09:14:14 +0000 (11:14 +0200)
commit98d5b084d23b0304569ef2c1b4794754166cf0a5
treec9f4d742c48f7bf9139d82e59049cc3500f7a2f5
parentd9cb34abb40c547325dbf24e8986698dffc9ffa8
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.
src/backend/storage/lmgr/lwlock.c