From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use ProcNumbers instead of direct Latch pointers to address othe
Date: Fri, 01 Nov 2024 12:07:59 +0000
Message-ID: <E1t6qRb-003RFg-Tj@gemulon.postgresql.org> (raw)
Use ProcNumbers instead of direct Latch pointers to address other procs
This is in preparation for replacing Latches with a new abstraction.
That's still work in progress, but this seems a little tidier anyway,
so let's get this refactoring out of the way already.
Discussion: https://www.postgresql.org/message-id/391abe21-413e-4d91-a650-b663af49500c%40iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a9c546a5a3783810a1b665f246fc6d0a596d0606
Modified Files
--------------
src/backend/access/transam/xlog.c | 10 ++++++--
src/backend/access/transam/xlogwait.c | 15 ++++++------
src/backend/postmaster/checkpointer.c | 16 +++++++++----
src/backend/postmaster/walwriter.c | 6 ++---
.../libpqwalreceiver/libpqwalreceiver.c | 1 +
src/backend/replication/walreceiver.c | 16 ++++++-------
src/backend/replication/walreceiverfuncs.c | 11 +++++----
src/backend/storage/lmgr/proc.c | 4 ++--
src/include/access/xlogwait.h | 9 +++-----
src/include/replication/walreceiver.h | 27 +++++++++++-----------
src/include/storage/proc.h | 12 ++++++----
11 files changed, 72 insertions(+), 55 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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Use ProcNumbers instead of direct Latch pointers to address othe
In-Reply-To: <E1t6qRb-003RFg-Tj@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