summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAlexander Korotkov2024-09-19 11:26:03 +0000
committerAlexander Korotkov2024-09-19 11:26:11 +0000
commit014f9f34d2527c14cdf4150863c053d2a117c1c7 (patch)
tree561d4bbfa88dd5cb422faac97ba131415851cc48 /src/include
parent87eeadaea1439693f6108ff599d750842ca6f338 (diff)
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
Diffstat (limited to 'src/include')
-rw-r--r--src/include/commands/waitlsn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/commands/waitlsn.h b/src/include/commands/waitlsn.h
index f719feadb05..bb5ac858dcc 100644
--- a/src/include/commands/waitlsn.h
+++ b/src/include/commands/waitlsn.h
@@ -76,5 +76,6 @@ extern Size WaitLSNShmemSize(void);
extern void WaitLSNShmemInit(void);
extern void WaitLSNSetLatches(XLogRecPtr currentLSN);
extern void WaitLSNCleanup(void);
+extern void WaitForLSNReplay(XLogRecPtr targetLSN, int64 timeout);
#endif /* WAIT_LSN_H */