pgsql: Once again allow LWLocks to be used within DSM segments. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Once again allow LWLocks to be used within DSM segments.
Date
Msg-id E1bZQAD-0002pA-AT@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Once again allow LWLocks to be used within DSM segments.

Prior to commit 7882c3b0b95640e361f1533fe0f2d02e4e5d8610, it was
possible to use LWLocks within DSM segments, but that commit broke
this use case by switching from a doubly linked list to a circular
linked list.  Switch back, using a new bit of general infrastructure
for maintaining lists of PGPROCs.

Thomas Munro, reviewed by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b25b6c9701e5c18e3ad3b701df62380f8d138ba0

Modified Files
--------------
src/backend/storage/lmgr/lwlock.c    |  63 +++++++-------
src/include/storage/lwlock.h         |   4 +-
src/include/storage/proc.h           |   6 +-
src/include/storage/proclist.h       | 154 +++++++++++++++++++++++++++++++++++
src/include/storage/proclist_types.h |  45 ++++++++++
src/tools/pgindent/typedefs.list     |   3 +
6 files changed, 240 insertions(+), 35 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Allow .so minor version numbers above 9 in .gitignore.
Next
From: Robert Haas
Date:
Subject: pgsql: Disable parallel query by default.