postgresql/src
Alexander Korotkov 5035172e4a Move LSN waiting declarations and definitions to better place
3c5db1d6b implemented the pg_wal_replay_wait() stored procedure.  Due to
the patch development history, the implementation resided in
src/backend/commands/waitlsn.c (src/include/commands/waitlsn.h for headers).

014f9f34d moved pg_wal_replay_wait() itself to
src/backend/access/transam/xlogfuncs.c near to the WAL-manipulation functions.
But most of the implementation stayed in place.

The code in src/backend/commands/waitlsn.c has nothing to do with commands,
but is related to WAL.  So, this commit moves this code into
src/backend/access/transam/xlogwait.c (src/include/access/xlogwait.h for
headers).

Reported-by: Peter Eisentraut
Discussion: https://postgr.es/m/18c0fa64-0475-415e-a1bd-665d922c5201%40eisentraut.org
Reviewed-by: Pavel Borisov
2024-10-24 14:37:53 +03:00
..
backend Move LSN waiting declarations and definitions to better place 2024-10-24 14:37:53 +03:00
bin Remove unused code for unlogged materialized views. 2024-10-18 17:18:57 +09:00
common Fix memory leaks from incorrect strsep() uses 2024-10-18 11:29:20 +02:00
fe_utils pg_verifybackup: Verify tar-format backups. 2024-09-27 08:40:24 -04:00
include Move LSN waiting declarations and definitions to better place 2024-10-24 14:37:53 +03:00
interfaces Fix incorrect struct reference in comment 2024-10-23 16:13:28 +02:00
makefiles Add -Wmissing-variable-declarations to the standard compilation flags 2024-08-03 11:51:02 +02:00
pl Further refine _SPI_execute_plan's rule for atomic execution. 2024-10-16 17:36:40 -04:00
port Simplify checking for xlocale.h 2024-10-01 07:23:45 -04:00
template thread-safety: gmtime_r(), localtime_r() 2024-08-23 07:43:04 +02:00
test Avoid looping over all type cache entries in TypeCacheRelCallback() 2024-10-24 14:35:52 +03:00
timezone Update time zone data files to tzdata release 2024a. 2024-02-01 15:57:53 -05:00
tools Avoid looping over all type cache entries in TypeCacheRelCallback() 2024-10-24 14:35:52 +03:00
tutorial Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Add -Wmissing-variable-declarations to the standard compilation flags 2024-08-03 11:51:02 +02:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00