mirror of
https://github.com/postgres/postgres.git
synced 2025-10-29 22:49:41 +03:00
XLOG stuff for sequences.
CommitDelay in guc.c
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user