Thread: pgsql: Move pg_wal_replay_wait() to xlogfuncs.c

pgsql: Move pg_wal_replay_wait() to xlogfuncs.c

From
Alexander Korotkov
Date:
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(-)