Remove redundant PGPROC.lockGroupLeaderIdentifier field.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 73bf8715aa7430bd003516bde448507fbe789c05
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-02-22T16:20:35Z
Releases: 9.6.0
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.

Files

PathChange+/−
src/backend/storage/lmgr/proc.c modified +6 −6
src/backend/storage/lmgr/README modified +19 −18
src/include/storage/proc.h modified +0 −1