mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
pgindent run.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: xact.h,v 1.52 2003/05/14 03:26:03 tgl Exp $
|
||||
* $Id: xact.h,v 1.53 2003/08/04 00:43:30 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -31,8 +31,8 @@ extern int DefaultXactIsoLevel;
|
||||
extern int XactIsoLevel;
|
||||
|
||||
/* Xact read-only state */
|
||||
extern bool DefaultXactReadOnly;
|
||||
extern bool XactReadOnly;
|
||||
extern bool DefaultXactReadOnly;
|
||||
extern bool XactReadOnly;
|
||||
|
||||
/*
|
||||
* transaction states - transaction state from server perspective
|
||||
@ -44,7 +44,7 @@ typedef enum TransState
|
||||
TRANS_INPROGRESS,
|
||||
TRANS_COMMIT,
|
||||
TRANS_ABORT
|
||||
} TransState;
|
||||
} TransState;
|
||||
|
||||
/*
|
||||
* transaction block states - transaction state of client queries
|
||||
@ -57,7 +57,7 @@ typedef enum TBlockState
|
||||
TBLOCK_END,
|
||||
TBLOCK_ABORT,
|
||||
TBLOCK_ENDABORT
|
||||
} TBlockState;
|
||||
} TBlockState;
|
||||
|
||||
/* ----------------
|
||||
* transaction state structure
|
||||
@ -70,7 +70,7 @@ typedef struct TransactionStateData
|
||||
AbsoluteTime startTime;
|
||||
int startTimeUsec;
|
||||
TransState state;
|
||||
TBlockState blockState;
|
||||
TBlockState blockState;
|
||||
} TransactionStateData;
|
||||
|
||||
typedef TransactionStateData *TransactionState;
|
||||
|
Reference in New Issue
Block a user