Use dlists instead of SHM_QUEUE for predicate locking
Andres Freund <andres@anarazel.de>
Use dlists instead of SHM_QUEUE for predicate locking Part of a series to remove SHM_QUEUE. ilist.h style lists are more widely used and have an easier to use interface. Reviewed-by: Thomas Munro <thomas.munro@gmail.com> (in an older version) Discussion: https://postgr.es/m/20221120055930.t6kl3tyivzhlrzu2@awork3.anarazel.de Discussion: https://postgr.es/m/20200211042229.msv23badgqljrdg2@alap3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/lmgr/predicate.c | modified | +233 −468 |
| src/include/storage/predicate_internals.h | modified | +16 −32 |
Discussion
- Improve heavyweight locks instead of building new lock managers? 7 messages · 2020-02-11 → 2020-04-10
- Replace PROC_QUEUE / SHM_QUEUE with ilist.h 4 messages · 2022-11-20 → 2023-01-20