]> git.ipfire.org Git - thirdparty/postgresql.git/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:12:28 +0000 (11:12 +0200)
commit62e503b0c29bbb9e0ac7ebce6990bf3c7c3c9a89
treec03618b9d8b8068d1cae6390bd0ed923e0d209a4
parent265728e1b60858f9db8a3e7fb538477a28fc74a3
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