mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Use Snapshot in heap access methods.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: xact.h,v 1.13 1998/04/24 14:42:55 momjian Exp $
|
||||
* $Id: xact.h,v 1.14 1998/07/27 19:38:30 vadim Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -22,14 +22,22 @@
|
||||
*/
|
||||
typedef struct TransactionStateData
|
||||
{
|
||||
TransactionId transactionIdData;
|
||||
CommandId commandId;
|
||||
CommandId scanCommandId;
|
||||
AbsoluteTime startTime;
|
||||
int state;
|
||||
int blockState;
|
||||
TransactionId transactionIdData;
|
||||
CommandId commandId;
|
||||
CommandId scanCommandId;
|
||||
AbsoluteTime startTime;
|
||||
int state;
|
||||
int blockState;
|
||||
} TransactionStateData;
|
||||
|
||||
/*
|
||||
* Xact isolation levels
|
||||
*/
|
||||
#define XACT_DIRTY_READ 0 /* not implemented */
|
||||
#define XACT_READ_COMMITTED 1
|
||||
#define XACT_REPEATABLE_READ 2 /* not implemented */
|
||||
#define XACT_SERIALIZED 3
|
||||
|
||||
/* ----------------
|
||||
* transaction states
|
||||
* ----------------
|
||||
|
||||
Reference in New Issue
Block a user