Fix obsolete comments.
authorTom Lane <[email protected]>
Fri, 3 May 2002 17:42:11 +0000 (17:42 +0000)
committerTom Lane <[email protected]>
Fri, 3 May 2002 17:42:11 +0000 (17:42 +0000)
src/backend/storage/buffer/localbuf.c

index faa6d876e87a69e73b023a460c7ea9f4062e0bb1..a242e7f2418cf834941f53ecbb8467a791022413 100644 (file)
@@ -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;