Skip to content

Commit 1a69a37

Browse files
committed
Fix obsolete comments.
1 parent d662f29 commit 1a69a37

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/backend/storage/buffer/localbuf.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*
1818
* IDENTIFICATION
19-
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.41 2001/05/12 19:58:27 tgl Exp $
19+
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.42 2002/05/03 17:42:11 tgl Exp $
2020
*
2121
*-------------------------------------------------------------------------
2222
*/
@@ -109,10 +109,7 @@ LocalBufferAlloc(Relation reln, BlockNumber blockNum, bool *foundPtr)
109109
(char *) MAKE_PTR(bufHdr->data));
110110
LocalBufferFlushCount++;
111111

112-
/*
113-
* drop relcache refcount incremented by
114-
* RelationIdCacheGetRelation
115-
*/
112+
/* drop refcount incremented by RelationNodeCacheGetRelation */
116113
RelationDecrementReferenceCount(bufrel);
117114
}
118115

@@ -249,7 +246,7 @@ LocalBufferSync(void)
249246
smgrmarkdirty(DEFAULT_SMGR, bufrel, buf->tag.blockNum);
250247
LocalBufferFlushCount++;
251248

252-
/* drop relcache refcount from RelationIdCacheGetRelation */
249+
/* drop relcache refcount from RelationNodeCacheGetRelation */
253250
RelationDecrementReferenceCount(bufrel);
254251

255252
buf->flags &= ~BM_DIRTY;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy