pgsql: Use dlists instead of SHM_QUEUE for syncrep queue

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use dlists instead of SHM_QUEUE for syncrep queue
Date: 2023-01-18 20:22:30
Message-ID: E1pIEx3-004LBu-Pp@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)munro(at)gmail(dot)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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-01-18 20:27:49 pgsql: Update expected/collate.windows.win1252.out for 47bb9db75.
Previous Message Andres Freund 2023-01-18 20:14:51 Re: pgsql: Get rid of the "new" and "old" entries in a view's rangetable.