mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 22:49:41 +03:00 
			
		
		
		
	Message improvements
Backpatch of the relevant parts of commit 50fd428b2b for consistency.
			
			
This commit is contained in:
		| @@ -214,7 +214,7 @@ update_local_synced_slot(RemoteSlot *remote_slot, Oid remote_dbid, | ||||
| 		ereport(slot->data.persistency == RS_TEMPORARY ? LOG : DEBUG1, | ||||
| 				errmsg("could not synchronize replication slot \"%s\"", | ||||
| 					   remote_slot->name), | ||||
| 				errdetail("Synchronization could lead to data loss as the remote slot needs WAL at LSN %X/%X and catalog xmin %u, but the standby has LSN %X/%X and catalog xmin %u.", | ||||
| 				errdetail("Synchronization could lead to data loss, because the remote slot needs WAL at LSN %X/%X and catalog xmin %u, but the standby has LSN %X/%X and catalog xmin %u.", | ||||
| 						  LSN_FORMAT_ARGS(remote_slot->restart_lsn), | ||||
| 						  remote_slot->catalog_xmin, | ||||
| 						  LSN_FORMAT_ARGS(slot->data.restart_lsn), | ||||
| @@ -577,7 +577,7 @@ update_and_persist_local_synced_slot(RemoteSlot *remote_slot, Oid remote_dbid) | ||||
| 	{ | ||||
| 		ereport(LOG, | ||||
| 				errmsg("could not synchronize replication slot \"%s\"", remote_slot->name), | ||||
| 				errdetail("Synchronization could lead to data loss as standby could not build a consistent snapshot to decode WALs at LSN %X/%X.", | ||||
| 				errdetail("Synchronization could lead to data loss, because the standby could not build a consistent snapshot to decode WALs at LSN %X/%X.", | ||||
| 						  LSN_FORMAT_ARGS(slot->data.restart_lsn))); | ||||
|  | ||||
| 		return false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user