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/rmgr.h | |
parent | 4699d81dc99ef1687e9396b57b0ed10f42699792 (diff) | |
download | postgresql-2589735da08c4e597accb6eab5ae65b6339ee630.tar.gz postgresql-2589735da08c4e597accb6eab5ae65b6339ee630.zip |
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/rmgr.h')
-rw-r--r-- | src/include/access/rmgr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/access/rmgr.h b/src/include/access/rmgr.h index af721e9fe76..b658422fd2b 100644 --- a/src/include/access/rmgr.h +++ b/src/include/access/rmgr.h @@ -1,9 +1,9 @@ /* - * * rmgr.h * * Resource managers definition * + * $Id: rmgr.h,v 1.6 2001/08/25 18:52:42 tgl Exp $ */ #ifndef RMGR_H #define RMGR_H @@ -16,6 +16,7 @@ typedef uint8 RmgrId; #define RM_XLOG_ID 0 #define RM_XACT_ID 1 #define RM_SMGR_ID 2 +#define RM_CLOG_ID 3 #define RM_HEAP_ID 10 #define RM_BTREE_ID 11 #define RM_HASH_ID 12 |