aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>2000-10-25 00:49:14 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>2000-10-25 00:49:14 +0000
commit157ff4e108703bb713b0af017d5ff740c17d622e (patch)
tree6849acd1287df06955eb9c391878156a0b7956ef /src
parent612f1b01f8e07259814e4e73b040ffa9836de89f (diff)
downloadpostgresql-157ff4e108703bb713b0af017d5ff740c17d622e.tar.gz
postgresql-157ff4e108703bb713b0af017d5ff740c17d622e.zip
WAL utils defs
Diffstat (limited to 'src')
-rw-r--r--src/include/access/xlogutils.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/access/xlogutils.h b/src/include/access/xlogutils.h
index e69de29bb2d..f62f726d831 100644
--- a/src/include/access/xlogutils.h
+++ b/src/include/access/xlogutils.h
@@ -0,0 +1,16 @@
+
+#ifndef XLOG_UTILS_H
+
+#include "utils/rel.h"
+
+extern int XLogIsOwnerOfTuple(RelFileNode hnode, ItemPointer iptr,
+ TransactionId xid, CommandId cid);
+extern bool XLogIsValidTuple(RelFileNode hnode, ItemPointer iptr);
+
+extern void XLogOpenLogRelation(void);
+
+extern Buffer XLogReadBuffer(bool extend, Relation reln, BlockNumber blkno);
+extern void XLogCloseRelationCache(void);
+extern Relation XLogOpenRelation(bool redo, RmgrId rmid, RelFileNode rnode);
+
+#endif