mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Reconsider new file extension in commit 91f26d5f.
				
					
				
			Andres and Tom objected to the choice of the ".tmp" extension. Changing to Andres's suggestion of ".spill". Discussion: https://postgr.es/m/88092095-3348-49D8-8746-EB574B1D30EA%40anarazel.de
This commit is contained in:
		@@ -2785,7 +2785,7 @@ ReorderBufferSerializedPath(char *path, ReplicationSlot *slot, TransactionId xid
 | 
			
		||||
 | 
			
		||||
	XLogSegNoOffsetToRecPtr(segno, 0, wal_segment_size, recptr);
 | 
			
		||||
 | 
			
		||||
	snprintf(path, MAXPGPATH, "pg_replslot/%s/xid-%u-lsn-%X-%X.tmp",
 | 
			
		||||
	snprintf(path, MAXPGPATH, "pg_replslot/%s/xid-%u-lsn-%X-%X.spill",
 | 
			
		||||
			 NameStr(MyReplicationSlot->data.name),
 | 
			
		||||
			 xid,
 | 
			
		||||
			 (uint32) (recptr >> 32), (uint32) recptr);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user