pgsql: Use dlists instead of SHM_QUEUE for syncrep queue
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: /messages/by-id/20221120055930.t6kl3tyivzhlrzu2@awork3.anarazel.de
Discussion: /messages/by-id/20200211042229.msv23badgqljrdg2@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/12605414a7d63ccbe36de2b530847bdfc9cf7447
Modified Files
--------------
src/backend/replication/syncrep.c | 89 ++++++++++++-----------------
src/backend/replication/walsender.c | 2 +-
src/backend/storage/lmgr/proc.c | 2 +-
src/include/replication/walsender_private.h | 3 +-
src/include/storage/proc.h | 2 +-
5 files changed, 41 insertions(+), 57 deletions(-)