mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	Move LSN waiting declarations and definitions to better place
3c5db1d6bimplemented 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).014f9f34dmoved 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
This commit is contained in:
		| @@ -40,10 +40,10 @@ | ||||
| #include "access/xlogreader.h" | ||||
| #include "access/xlogrecovery.h" | ||||
| #include "access/xlogutils.h" | ||||
| #include "access/xlogwait.h" | ||||
| #include "backup/basebackup.h" | ||||
| #include "catalog/pg_control.h" | ||||
| #include "commands/tablespace.h" | ||||
| #include "commands/waitlsn.h" | ||||
| #include "common/file_utils.h" | ||||
| #include "miscadmin.h" | ||||
| #include "pgstat.h" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user