pgsql: Move pg_wal_replay_wait() to xlogfuncs.c

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move pg_wal_replay_wait() to xlogfuncs.c
Date: 2024-09-19 11:33:50
Message-ID: E1srFPx-001lwv-VM@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2024-09-19 11:36:13 pgsql: Add UpgradeTaskProcessCB to typedefs.list
Previous Message Michael Paquier 2024-09-19 07:25:51 pgsql: psql: Fix memory leak with repeated calls of \bind