From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use dlists instead of SHM_QUEUE for syncrep queue
Date: Wed, 18 Jan 2023 20:22:30 +0000
Message-ID: <E1pIEx3-004LBu-Pp@gemulon.postgresql.org> (raw)
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
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 instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: Use dlists instead of SHM_QUEUE for syncrep queue
In-Reply-To: <E1pIEx3-004LBu-Pp@gemulon.postgresql.org>
References: <E1pIEx3-004LBu-Pp@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox