mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-04 00:02:52 -05:00 
			
		
		
		
	Trivial code clarity improvement to UpdateStats(); no functional change.
This commit is contained in:
		
							parent
							
								
									368739dca8
								
							
						
					
					
						commit
						9de97c5531
					
				@ -8,7 +8,7 @@
 | 
			
		||||
 *
 | 
			
		||||
 *
 | 
			
		||||
 * IDENTIFICATION
 | 
			
		||||
 *	  $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.256 2005/05/19 21:35:45 tgl Exp $
 | 
			
		||||
 *	  $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.257 2005/06/20 02:07:47 neilc Exp $
 | 
			
		||||
 *
 | 
			
		||||
 *
 | 
			
		||||
 * INTERFACE ROUTINES
 | 
			
		||||
@ -1293,10 +1293,10 @@ UpdateStats(Oid relid, double reltuples)
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (!pg_class_scan)
 | 
			
		||||
		heap_freetuple(tuple);
 | 
			
		||||
	else
 | 
			
		||||
	if (in_place_upd)
 | 
			
		||||
		heap_endscan(pg_class_scan);
 | 
			
		||||
	else
 | 
			
		||||
		heap_freetuple(tuple);
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
	 * We shouldn't have to do this, but we do...  Modify the reldesc in
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user