From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Use ProcNumbers instead of direct Latch pointers to address othe |
Date: | 2024-11-01 12:07:59 |
Message-ID: | E1t6qRb-003RFg-Tj@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2024-11-01 15:31:20 | pgsql: doc: remove mention of ActiveState for Perl and Tcl on Windows |
Previous Message | Michael Paquier | 2024-11-01 08:07:33 | pgsql: Remove use of pg_memory_is_all_zeros() in bufpage.c |