1
0
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:
Vadim B. Mikheev
1998-07-27 19:38:40 +00:00
parent f7f989c990
commit be8300b18f
54 changed files with 352 additions and 339 deletions

View File

@@ -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
* ----------------