Fix obsolete comments.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 May 2002 17:42:11 +0000 (17:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 May 2002 17:42:11 +0000 (17:42 +0000)
src/backend/storage/buffer/localbuf.c

index 4b4a31066b2cc7df4118b8ce9c5282c54e9df7a8..44446d30a49399ce73101ce74152838f04fc69e1 100644 (file)
@@ -16,7 +16,7 @@
  *
  *
  * 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));
                LocalBufferFlushCount++;
 
-               /*
-                * drop relcache refcount incremented by
-                * RelationIdCacheGetRelation
-                */
+               /* drop refcount incremented by RelationNodeCacheGetRelation */
                RelationDecrementReferenceCount(bufrel);
        }
 
@@ -249,7 +246,7 @@ LocalBufferSync(void)
                        smgrmarkdirty(DEFAULT_SMGR, bufrel, buf->tag.blockNum);
                        LocalBufferFlushCount++;
 
-                       /* drop relcache refcount from RelationIdCacheGetRelation */
+                       /* drop relcache refcount from RelationNodeCacheGetRelation */
                        RelationDecrementReferenceCount(bufrel);
 
                        buf->flags &= ~BM_DIRTY;