|
16 | 16 | *
|
17 | 17 | *
|
18 | 18 | * 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 $ |
20 | 20 | *
|
21 | 21 | *-------------------------------------------------------------------------
|
22 | 22 | */
|
@@ -109,10 +109,7 @@ LocalBufferAlloc(Relation reln, BlockNumber blockNum, bool *foundPtr)
|
109 | 109 | (char*)MAKE_PTR(bufHdr->data));
|
110 | 110 | LocalBufferFlushCount++;
|
111 | 111 |
|
112 |
| -/* |
113 |
| - * drop relcache refcount incremented by |
114 |
| - * RelationIdCacheGetRelation |
115 |
| - */ |
| 112 | +/* drop refcount incremented by RelationNodeCacheGetRelation */ |
116 | 113 | RelationDecrementReferenceCount(bufrel);
|
117 | 114 | }
|
118 | 115 |
|
@@ -249,7 +246,7 @@ LocalBufferSync(void)
|
249 | 246 | smgrmarkdirty(DEFAULT_SMGR,bufrel,buf->tag.blockNum);
|
250 | 247 | LocalBufferFlushCount++;
|
251 | 248 |
|
252 |
| -/* drop relcache refcount fromRelationIdCacheGetRelation */ |
| 249 | +/* drop relcache refcount fromRelationNodeCacheGetRelation */ |
253 | 250 | RelationDecrementReferenceCount(bufrel);
|
254 | 251 |
|
255 | 252 | buf->flags &= ~BM_DIRTY;
|
|