Use dlists instead of SHM_QUEUE for syncrep queue
authorAndres Freund <andres@anarazel.de>
Wed, 18 Jan 2023 20:15:05 +0000 (12:15 -0800)
committerAndres Freund <andres@anarazel.de>
Wed, 18 Jan 2023 20:15:05 +0000 (12:15 -0800)
commit12605414a7d63ccbe36de2b530847bdfc9cf7447
tree286433bb07e4743bfaf09d1b1309fa89267ec708
parent5764f611e10b126e09e37fdffbe884c44643a6ce
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
src/backend/replication/syncrep.c
src/backend/replication/walsender.c
src/backend/storage/lmgr/proc.c
src/include/replication/walsender_private.h
src/include/storage/proc.h