pgsql: Once again allow LWLocks to be used within DSM segments.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Once again allow LWLocks to be used within DSM segments.
Дата
Msg-id E1bZQAD-0002pA-AT@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Allow .so minor version numbers above 9 in .gitignore.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Disable parallel query by default.