From: Simon Riggs <simon@2ndQuadrant.com>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add debug check function LWLockHeldByMeInMode()
Date: Mon, 05 Sep 2016 09:39:50 +0000
Message-ID: <E1bgqNa-0006kc-U9@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: simon@2ndQuadrant.com
Subject: Re: pgsql: Add debug check function LWLockHeldByMeInMode()
In-Reply-To: <E1bgqNa-0006kc-U9@gemulon.postgresql.org>
References: <E1bgqNa-0006kc-U9@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox