Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1a69a37

Browse files
committed
Fix obsolete comments.
1 parentd662f29 commit1a69a37

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 fromRelationIdCacheGetRelation */
249+
/* drop relcache refcount fromRelationNodeCacheGetRelation */
253250
RelationDecrementReferenceCount(bufrel);
254251

255252
buf->flags &= ~BM_DIRTY;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp