mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	Remove mention of TimeLineID update from comments
Commit 4a92a1c3d removed the TimeLineID update from RecoveryInProgress, update comments accordingly. Author: Amul Sul <sulamul@gmail.com> Discussion: https://postgr.es/m/CAAJ_b96wyzs8N45jc-kYd-bTE02hRWQieLZRpsUtNbhap7_PuQ@mail.gmail.com
This commit is contained in:
		
							parent
							
								
									7799d4e3bd
								
							
						
					
					
						commit
						018b800245
					
				| @ -8391,8 +8391,8 @@ PerformRecoveryXLogAction(void) | |||||||
|  * Unlike testing InRecovery, this works in any process that's connected to |  * Unlike testing InRecovery, this works in any process that's connected to | ||||||
|  * shared memory. |  * shared memory. | ||||||
|  * |  * | ||||||
|  * As a side-effect, we initialize the local TimeLineID and RedoRecPtr |  * As a side-effect, we initialize the local RedoRecPtr variable the first | ||||||
|  * variables the first time we see that recovery is finished. |  * time we see that recovery is finished. | ||||||
|  */ |  */ | ||||||
| bool | bool | ||||||
| RecoveryInProgress(void) | RecoveryInProgress(void) | ||||||
|  | |||||||
| @ -384,11 +384,7 @@ CheckpointerMain(void) | |||||||
| 			bool		ckpt_performed = false; | 			bool		ckpt_performed = false; | ||||||
| 			bool		do_restartpoint; | 			bool		do_restartpoint; | ||||||
| 
 | 
 | ||||||
| 			/*
 | 			/* Check if we should perform a checkpoint or a restartpoint. */ | ||||||
| 			 * Check if we should perform a checkpoint or a restartpoint. As a |  | ||||||
| 			 * side-effect, RecoveryInProgress() initializes TimeLineID if |  | ||||||
| 			 * it's not set yet. |  | ||||||
| 			 */ |  | ||||||
| 			do_restartpoint = RecoveryInProgress(); | 			do_restartpoint = RecoveryInProgress(); | ||||||
| 
 | 
 | ||||||
| 			/*
 | 			/*
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user