diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/access/xlogutils.h | 7 | ||||
-rw-r--r-- | src/include/storage/bufmgr.h | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/include/access/xlogutils.h b/src/include/access/xlogutils.h index 09e72edaf92..a684656d035 100644 --- a/src/include/access/xlogutils.h +++ b/src/include/access/xlogutils.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/xlogutils.h,v 1.19 2006/03/05 15:58:54 momjian Exp $ + * $PostgreSQL: pgsql/src/include/access/xlogutils.h,v 1.20 2006/03/29 21:17:39 tgl Exp $ */ #ifndef XLOG_UTILS_H #define XLOG_UTILS_H @@ -19,8 +19,9 @@ extern void XLogInitRelationCache(void); extern void XLogCloseRelationCache(void); extern Relation XLogOpenRelation(RelFileNode rnode); -extern void XLogCloseRelation(RelFileNode rnode); +extern void XLogDropRelation(RelFileNode rnode); +extern void XLogDropDatabase(Oid dbid); -extern Buffer XLogReadBuffer(bool extend, Relation reln, BlockNumber blkno); +extern Buffer XLogReadBuffer(Relation reln, BlockNumber blkno, bool init); #endif diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h index 8f319b88a86..4bc0737b218 100644 --- a/src/include/storage/bufmgr.h +++ b/src/include/storage/bufmgr.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/bufmgr.h,v 1.98 2006/03/05 15:58:59 momjian Exp $ + * $PostgreSQL: pgsql/src/include/storage/bufmgr.h,v 1.99 2006/03/29 21:17:39 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -135,7 +135,7 @@ extern void RelationTruncate(Relation rel, BlockNumber nblocks); extern void FlushRelationBuffers(Relation rel); extern void DropRelFileNodeBuffers(RelFileNode rnode, bool istemp, BlockNumber firstDelBlock); -extern void DropBuffers(Oid dbid); +extern void DropDatabaseBuffers(Oid dbid); #ifdef NOT_USED extern void PrintPinnedBufs(void); |