]> granicus.if.org Git - postgresql/blob - src/include/access/xlogutils.h
Allow GIN's extractQuery method to signal that nothing can satisfy the query.
[postgresql] / src / include / access / xlogutils.h
1 /*
2  * xlogutils.h
3  *
4  * PostgreSQL transaction log manager utility routines
5  *
6  * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * $PostgreSQL: pgsql/src/include/access/xlogutils.h,v 1.22 2007/01/05 22:19:51 momjian Exp $
10  */
11 #ifndef XLOG_UTILS_H
12 #define XLOG_UTILS_H
13
14 #include "storage/buf.h"
15 #include "utils/rel.h"
16
17
18 extern void XLogInitRelationCache(void);
19 extern void XLogCheckInvalidPages(void);
20 extern void XLogCloseRelationCache(void);
21
22 extern Relation XLogOpenRelation(RelFileNode rnode);
23 extern void XLogDropRelation(RelFileNode rnode);
24 extern void XLogDropDatabase(Oid dbid);
25 extern void XLogTruncateRelation(RelFileNode rnode, BlockNumber nblocks);
26
27 extern Buffer XLogReadBuffer(Relation reln, BlockNumber blkno, bool init);
28
29 #endif