Use dlists instead of SHM_QUEUE for syncrep queue
Andres Freund <andres@anarazel.de>
Use dlists instead of SHM_QUEUE for syncrep queue 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/replication/syncrep.c | modified | +36 −53 |
| src/backend/replication/walsender.c | modified | +1 −1 |
| src/backend/storage/lmgr/proc.c | modified | +1 −1 |
| src/include/replication/walsender_private.h | modified | +2 −1 |
| src/include/storage/proc.h | modified | +1 −1 |
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