mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-04 00:02:52 -05:00 
			
		
		
		
	Improve description of buffer used to store records in WAL reader
The dedicated private buffer to store records is used only for these crossing a page boundary since 285bd0ac, but its description did not match completely the reality. Reported-by: Andrey Lepikhov Author: Michael Paquier Discussion: https://postgr.es/m/49518b48-2036-5e43-1818-0f594e375e76@postgrespro.ru
This commit is contained in:
		
							parent
							
								
									ea8bc349bd
								
							
						
					
					
						commit
						0999ac4792
					
				@ -185,7 +185,10 @@ struct XLogReaderState
 | 
			
		||||
	 */
 | 
			
		||||
	TimeLineID	nextTLI;
 | 
			
		||||
 | 
			
		||||
	/* Buffer for current ReadRecord result (expandable) */
 | 
			
		||||
	/*
 | 
			
		||||
	 * Buffer for current ReadRecord result (expandable), used when a record
 | 
			
		||||
	 * crosses a page boundary.
 | 
			
		||||
	 */
 | 
			
		||||
	char	   *readRecordBuf;
 | 
			
		||||
	uint32		readRecordBufSize;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user