1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-21 12:05:57 +03:00

Fix obsolete comments.

This commit is contained in:
Tom Lane 2002-05-03 17:42:11 +00:00
parent d662f29302
commit 1a69a37d5b

View File

@ -16,7 +16,7 @@
* *
* *
* IDENTIFICATION * 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)); (char *) MAKE_PTR(bufHdr->data));
LocalBufferFlushCount++; LocalBufferFlushCount++;
/* /* drop refcount incremented by RelationNodeCacheGetRelation */
* drop relcache refcount incremented by
* RelationIdCacheGetRelation
*/
RelationDecrementReferenceCount(bufrel); RelationDecrementReferenceCount(bufrel);
} }
@ -249,7 +246,7 @@ LocalBufferSync(void)
smgrmarkdirty(DEFAULT_SMGR, bufrel, buf->tag.blockNum); smgrmarkdirty(DEFAULT_SMGR, bufrel, buf->tag.blockNum);
LocalBufferFlushCount++; LocalBufferFlushCount++;
/* drop relcache refcount from RelationIdCacheGetRelation */ /* drop relcache refcount from RelationNodeCacheGetRelation */
RelationDecrementReferenceCount(bufrel); RelationDecrementReferenceCount(bufrel);
buf->flags &= ~BM_DIRTY; buf->flags &= ~BM_DIRTY;