mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Fix back-patch of "Avoid race in RelationBuildDesc() ..."
The back-patch of commit fdd965d074 broke
CLOBBER_CACHE_ALWAYS for v9.6 through v13.  It updated the
InvalidateSystemCaches() call for CLOBBER_CACHE_RECURSIVELY, neglecting
the one for CLOBBER_CACHE_ALWAYS.  Back-patch to v13, v12, v11, and v10.
Reviewed by Tomas Vondra.  Reported by Tomas Vondra.
Discussion: https://postgr.es/m/df7b4c0b-7d92-f03f-75c4-9e08b269a716@enterprisedb.com
			
			
This commit is contained in:
		
							
								
								
									
										2
									
								
								src/backend/utils/cache/inval.c
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/backend/utils/cache/inval.c
									
									
									
									
										vendored
									
									
								
							@@ -725,7 +725,7 @@ AcceptInvalidationMessages(void)
 | 
			
		||||
		if (!in_recursion)
 | 
			
		||||
		{
 | 
			
		||||
			in_recursion = true;
 | 
			
		||||
			InvalidateSystemCaches();
 | 
			
		||||
			InvalidateSystemCachesExtended(true);
 | 
			
		||||
			in_recursion = false;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user