diff options
| author | Tom Lane | 2016-02-22 16:20:35 +0000 |
|---|---|---|
| committer | Tom Lane | 2016-02-22 16:20:35 +0000 |
| commit | 73bf8715aa7430bd003516bde448507fbe789c05 (patch) | |
| tree | 1ddf2a5fb9d5df842bb6446c3dd43b882ee2b32c /src/include | |
| parent | ea56b06cf77a6932a74f9d4ec6c950a333d1527d (diff) | |
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.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/storage/proc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index a9405ce13be..dbcdd3f340e 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -166,7 +166,6 @@ struct PGPROC * Support for lock groups. Use LockHashPartitionLockByProc on the group * leader to get the LWLock protecting these fields. */ - int lockGroupLeaderIdentifier; /* MyProcPid, if I'm a leader */ PGPROC *lockGroupLeader; /* lock group leader, if I'm a member */ dlist_head lockGroupMembers; /* list of members, if I'm a leader */ dlist_node lockGroupLink; /* my member link, if I'm a member */ |
