From 2042b3428d3947987b27dbd4598fd9a5716ec9e8 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 21 Jul 2004 22:31:26 +0000 Subject: Invent WAL timelines, as per recent discussion, to make point-in-time recovery more manageable. Also, undo recent change to add FILE_HEADER and WASTED_SPACE records to XLOG; instead make the XLOG page header variable-size with extra fields in the first page of an XLOG file. This should fix the boundary-case bugs observed by Mark Kirkwood. initdb forced due to change of XLOG representation. --- src/include/access/xlogutils.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/include/access/xlogutils.h') diff --git a/src/include/access/xlogutils.h b/src/include/access/xlogutils.h index 8b1dc671fa0..a5b8f30978e 100644 --- a/src/include/access/xlogutils.h +++ b/src/include/access/xlogutils.h @@ -6,19 +6,15 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/xlogutils.h,v 1.14 2004/02/11 22:55:25 tgl Exp $ + * $PostgreSQL: pgsql/src/include/access/xlogutils.h,v 1.15 2004/07/21 22:31:25 tgl Exp $ */ #ifndef XLOG_UTILS_H #define XLOG_UTILS_H #include "access/rmgr.h" #include "storage/buf.h" -#include "storage/itemptr.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 XLogInitRelationCache(void); extern void XLogCloseRelationCache(void); -- cgit v1.2.3