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 <[email protected]> (in an older version)
Discussion: 
https://postgr.es/m/[email protected]
Discussion: 
https://postgr.es/m/[email protected]

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(-)

Reply via email to