diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-08-25 18:52:43 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-08-25 18:52:43 +0000 |
| commit | 2589735da08c4e597accb6eab5ae65b6339ee630 (patch) | |
| tree | 829f7073292c6b55f86580863837441991638405 /src/include/access/xlogutils.h | |
| parent | 4699d81dc99ef1687e9396b57b0ed10f42699792 (diff) | |
| download | postgresql-2589735da08c4e597accb6eab5ae65b6339ee630.tar.gz | |
Replace implementation of pg_log as a relation accessed through the
buffer manager with 'pg_clog', a specialized access method modeled
on pg_xlog. This simplifies startup (don't need to play games to
open pg_log; among other things, OverrideTransactionSystem goes away),
should improve performance a little, and opens the door to recycling
commit log space by removing no-longer-needed segments of the commit
log. Actual recycling is not there yet, but I felt I should commit
this part separately since it'd still be useful if we chose not to
do transaction ID wraparound.
Diffstat (limited to 'src/include/access/xlogutils.h')
| -rw-r--r-- | src/include/access/xlogutils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/access/xlogutils.h b/src/include/access/xlogutils.h index b31184b76b..b427c83649 100644 --- a/src/include/access/xlogutils.h +++ b/src/include/access/xlogutils.h @@ -6,20 +6,20 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: xlogutils.h,v 1.7 2001/03/22 04:00:32 momjian Exp $ + * $Id: xlogutils.h,v 1.8 2001/08/25 18:52:42 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 XLogOpenLogRelation(void); - extern void XLogInitRelationCache(void); extern void XLogCloseRelationCache(void); |
