diff options
| author | Vadim B. Mikheev | 2000-11-30 01:47:33 +0000 |
|---|---|---|
| committer | Vadim B. Mikheev | 2000-11-30 01:47:33 +0000 |
| commit | 741510521caea7e1ca12b4db0701bbc2db346a5f (patch) | |
| tree | d26b28fc9215dd82b038f9c3d51925a6e7e65e1f /src/include/access | |
| parent | 680b7357ce850c28d06997be793aee18f72434ba (diff) | |
XLOG stuff for sequences.
CommitDelay in guc.c
Diffstat (limited to 'src/include/access')
| -rw-r--r-- | src/include/access/htup.h | 6 | ||||
| -rw-r--r-- | src/include/access/rmgr.h | 3 | ||||
| -rw-r--r-- | src/include/access/xlog.h | 8 |
3 files changed, 12 insertions, 5 deletions
diff --git a/src/include/access/htup.h b/src/include/access/htup.h index 177176e434a..6484abf36d8 100644 --- a/src/include/access/htup.h +++ b/src/include/access/htup.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: htup.h,v 1.39 2000/11/14 21:04:32 tgl Exp $ + * $Id: htup.h,v 1.40 2000/11/30 01:47:32 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -186,9 +186,9 @@ extern long heap_sysoffset[]; */ typedef struct HeapTupleData { - uint32 t_len; /* length of *t_data */ + uint32 t_len; /* length of *t_data */ ItemPointerData t_self; /* SelfItemPointer */ - Oid t_tableOid; /* table the tuple came from */ + Oid t_tableOid; /* table the tuple came from */ MemoryContext t_datamcxt; /* mcxt in which allocated */ HeapTupleHeader t_data; /* -> tuple header and data */ } HeapTupleData; diff --git a/src/include/access/rmgr.h b/src/include/access/rmgr.h index 221c52d2f2b..af721e9fe76 100644 --- a/src/include/access/rmgr.h +++ b/src/include/access/rmgr.h @@ -21,6 +21,7 @@ typedef uint8 RmgrId; #define RM_HASH_ID 12 #define RM_RTREE_ID 13 #define RM_GIST_ID 14 -#define RM_MAX_ID RM_GIST_ID +#define RM_SEQ_ID 15 +#define RM_MAX_ID RM_SEQ_ID #endif /* RMGR_H */ diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index 4654296e116..785ac94c9b2 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -3,7 +3,7 @@ * * PostgreSQL transaction log manager * - * $Header: /cvsroot/pgsql/src/include/access/xlog.h,v 1.11 2000/11/25 20:33:53 tgl Exp $ + * $Header: /cvsroot/pgsql/src/include/access/xlog.h,v 1.12 2000/11/30 01:47:32 vadim Exp $ */ #ifndef XLOG_H #define XLOG_H @@ -54,6 +54,12 @@ typedef struct XLogSubRecord #define XLR_TO_BE_CONTINUED 0x01 #define XLR_INFO_MASK 0x0F +/* + * Sometimes we log records which are out of transaction control. + * Rmgr may use flag below for this purpose. + */ +#define XLOG_NO_TRAN XLR_INFO_MASK + #define XLOG_PAGE_MAGIC 0x17345168 typedef struct XLogPageHeaderData |
