diff options
Diffstat (limited to 'src/include/access/xact.h')
-rw-r--r-- | src/include/access/xact.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/include/access/xact.h b/src/include/access/xact.h index 2196aa84b2e..ab75ec001f0 100644 --- a/src/include/access/xact.h +++ b/src/include/access/xact.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: xact.h,v 1.32 2001/01/24 19:43:20 momjian Exp $ + * $Id: xact.h,v 1.33 2001/03/22 04:00:32 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -82,15 +82,15 @@ typedef TransactionStateData *TransactionState; * XLOG allows to store some information in high 4 bits of log * record xl_info field */ -#define XLOG_XACT_COMMIT 0x00 -#define XLOG_XACT_ABORT 0x20 +#define XLOG_XACT_COMMIT 0x00 +#define XLOG_XACT_ABORT 0x20 typedef struct xl_xact_commit { time_t xtime; + /* - * Array of RelFileNode-s to drop may follow - * at the end of struct + * Array of RelFileNode-s to drop may follow at the end of struct */ } xl_xact_commit; @@ -101,7 +101,7 @@ typedef struct xl_xact_abort time_t xtime; } xl_xact_abort; -#define SizeOfXactAbort ((offsetof(xl_xact_abort, xtime) + sizeof(time_t))) +#define SizeOfXactAbort ((offsetof(xl_xact_abort, xtime) + sizeof(time_t))) /* ---------------- * extern definitions @@ -135,12 +135,12 @@ extern void RecordTransactionCommit(void); extern TransactionId DisabledTransactionId; -extern void XactPushRollback(void (*func) (void *), void* data); +extern void XactPushRollback(void (*func) (void *), void *data); extern void XactPopRollback(void); -extern void xact_redo(XLogRecPtr lsn, XLogRecord *record); -extern void xact_undo(XLogRecPtr lsn, XLogRecord *record); -extern void xact_desc(char *buf, uint8 xl_info, char* rec); +extern void xact_redo(XLogRecPtr lsn, XLogRecord *record); +extern void xact_undo(XLogRecPtr lsn, XLogRecord *record); +extern void xact_desc(char *buf, uint8 xl_info, char *rec); /* defined in xid.c */ extern Datum xidin(PG_FUNCTION_ARGS); |