From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Remove redundant PGPROC.lockGroupLeaderIdentifier field.
Date: Mon, 22 Feb 2016 16:21:17 +0000
Message-ID: <E1aXtEb-0001hQ-QZ@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Remove redundant PGPROC.lockGroupLeaderIdentifier field.
We don't really need this field, because it's either zero or redundant with
PGPROC.pid. The use of zero to mark "not a group leader" is not necessary
since we can just as well test whether lockGroupLeader is NULL. This does
not save very much, either as to code or data, but the simplification seems
worthwhile anyway.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/73bf8715aa7430bd003516bde448507fbe789c05
Modified Files
--------------
src/backend/storage/lmgr/README | 37 +++++++++++++++++++------------------
src/backend/storage/lmgr/proc.c | 12 ++++++------
src/include/storage/proc.h | 1 -
3 files changed, 25 insertions(+), 25 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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Remove redundant PGPROC.lockGroupLeaderIdentifier field.
In-Reply-To: <E1aXtEb-0001hQ-QZ@gemulon.postgresql.org>
References: <E1aXtEb-0001hQ-QZ@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