From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move pg_wal_replay_wait() to xlogfuncs.c
Date: Thu, 19 Sep 2024 11:33:50 +0000
Message-ID: <E1srFPx-001lwv-VM@gemulon.postgresql.org> (raw)
Move pg_wal_replay_wait() to xlogfuncs.c
This commit moves pg_wal_replay_wait() procedure to be a neighbor of
WAL-related functions in xlogfuncs.c. The implementation of LSN waiting
continues to reside in the same place.
By proposal from Michael Paquier.
Reported-by: Peter Eisentraut
Discussion: https://postgr.es/m/18c0fa64-0475-415e-a1bd-665d922c5201%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/014f9f34d2527c14cdf4150863c053d2a117c1c7
Modified Files
--------------
src/backend/access/transam/xlogfuncs.c | 56 ++++++++++++++++++++++++++++++++++
src/backend/commands/waitlsn.c | 52 +------------------------------
src/include/commands/waitlsn.h | 1 +
3 files changed, 58 insertions(+), 51 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: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Move pg_wal_replay_wait() to xlogfuncs.c
In-Reply-To: <E1srFPx-001lwv-VM@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