4 * PostgreSQL transaction log manager utility routines
6 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
14 #include "storage/buf.h"
15 #include "storage/relfilenode.h"
16 #include "storage/block.h"
17 #include "utils/relcache.h"
20 extern void XLogCheckInvalidPages(void);
22 extern void XLogDropRelation(RelFileNode rnode
, ForkNumber forknum
);
23 extern void XLogDropDatabase(Oid dbid
);
24 extern void XLogTruncateRelation(RelFileNode rnode
, ForkNumber forkNum
,
27 extern Buffer
XLogReadBuffer(RelFileNode rnode
, BlockNumber blkno
, bool init
);
28 extern Buffer
XLogReadBufferWithFork(RelFileNode rnode
, ForkNumber forknum
,
29 BlockNumber blkno
, bool init
);
31 extern Relation
CreateFakeRelcacheEntry(RelFileNode rnode
);
32 extern void FreeFakeRelcacheEntry(Relation fakerel
);