| From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Move ShmemIndexLock into ShmemAllocator |
| Date: | 2026-03-26 22:03:58 |
| Message-ID: | E1w5so1-001bOI-1D@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Move ShmemIndexLock into ShmemAllocator
This makes shmem.c independent of the main LWLock array. That makes it
possible to stop passing MainLWLockArray through BackendParameters in
the next commit.
Reviewed-by: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/47aaf57e-1b7b-4e12-bda2-0316081ff50e@iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/06d859aaf4e988ddef8adc55efb21324c5e30092
Modified Files
--------------
src/backend/storage/ipc/shmem.c | 15 ++++++++++-----
src/backend/utils/activity/wait_event_names.txt | 2 +-
src/include/storage/lwlocklist.h | 3 ++-
3 files changed, 13 insertions(+), 7 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2026-03-27 00:54:47 | pgsql: pg_plan_advice: pgindent |
| Previous Message | Heikki Linnakangas | 2026-03-26 21:46:49 | pgsql: Rename MAX_NAMED_TRANCHES to MAX_USER_DEFINED_TRANCHES |