mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
pgindent run. Make it all clean.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user