Move pg_wal_replay_wait() to xlogfuncs.c
authorAlexander Korotkov <akorotkov@postgresql.org>
Thu, 19 Sep 2024 11:26:03 +0000 (14:26 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Thu, 19 Sep 2024 11:26:11 +0000 (14:26 +0300)
commit014f9f34d2527c14cdf4150863c053d2a117c1c7
tree561d4bbfa88dd5cb422faac97ba131415851cc48
parent87eeadaea1439693f6108ff599d750842ca6f338
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
src/backend/access/transam/xlogfuncs.c
src/backend/commands/waitlsn.c
src/include/commands/waitlsn.h