pgsql: Move pg_wal_replay_wait() to xlogfuncs.c - Mailing list pgsql-committers

From Alexander Korotkov
Subject pgsql: Move pg_wal_replay_wait() to xlogfuncs.c
Date
Msg-id E1srFPx-001lwv-VM@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: psql: Fix memory leak with repeated calls of \bind
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Fix order of includes in src/bin/pg_upgrade/info.c