Add debug check function LWLockHeldByMeInMode()
Tests whether my process holds a lock in given mode.
Add initial usage in MarkBufferDirty().
Thomas Munro
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/016abf1fb8333de82a259af0cc7572a4b868023b
Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 4 ++--
src/backend/storage/lmgr/lwlock.c | 23 ++++++++++++++++++++---
src/include/storage/lwlock.h | 1 +
3 files changed, 23 insertions(+), 5 deletions(-)