mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Fix obsolete comments.
This commit is contained in:
parent
d662f29302
commit
1a69a37d5b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user