mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	Fix obsolete comments.
This commit is contained in:
		
							parent
							
								
									d662f29302
								
							
						
					
					
						commit
						1a69a37d5b
					
				| @ -16,7 +16,7 @@ | |||||||
|  * |  * | ||||||
|  * |  * | ||||||
|  * IDENTIFICATION |  * IDENTIFICATION | ||||||
|  *	  $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.41 2001/05/12 19:58:27 tgl Exp $ |  *	  $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.42 2002/05/03 17:42:11 tgl Exp $ | ||||||
|  * |  * | ||||||
|  *------------------------------------------------------------------------- |  *------------------------------------------------------------------------- | ||||||
|  */ |  */ | ||||||
| @ -109,10 +109,7 @@ LocalBufferAlloc(Relation reln, BlockNumber blockNum, bool *foundPtr) | |||||||
| 				  (char *) MAKE_PTR(bufHdr->data)); | 				  (char *) MAKE_PTR(bufHdr->data)); | ||||||
| 		LocalBufferFlushCount++; | 		LocalBufferFlushCount++; | ||||||
| 
 | 
 | ||||||
| 		/*
 | 		/* drop refcount incremented by RelationNodeCacheGetRelation */ | ||||||
| 		 * drop relcache refcount incremented by |  | ||||||
| 		 * RelationIdCacheGetRelation |  | ||||||
| 		 */ |  | ||||||
| 		RelationDecrementReferenceCount(bufrel); | 		RelationDecrementReferenceCount(bufrel); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| @ -249,7 +246,7 @@ LocalBufferSync(void) | |||||||
| 			smgrmarkdirty(DEFAULT_SMGR, bufrel, buf->tag.blockNum); | 			smgrmarkdirty(DEFAULT_SMGR, bufrel, buf->tag.blockNum); | ||||||
| 			LocalBufferFlushCount++; | 			LocalBufferFlushCount++; | ||||||
| 
 | 
 | ||||||
| 			/* drop relcache refcount from RelationIdCacheGetRelation */ | 			/* drop relcache refcount from RelationNodeCacheGetRelation */ | ||||||
| 			RelationDecrementReferenceCount(bufrel); | 			RelationDecrementReferenceCount(bufrel); | ||||||
| 
 | 
 | ||||||
| 			buf->flags &= ~BM_DIRTY; | 			buf->flags &= ~BM_DIRTY; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user