From be8300b18f26363c0b18c62fa884a6a62e26405e Mon Sep 17 00:00:00 2001 From: "Vadim B. Mikheev" Date: Mon, 27 Jul 1998 19:38:40 +0000 Subject: Use Snapshot in heap access methods. --- src/include/access/xact.h | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'src/include/access/xact.h') diff --git a/src/include/access/xact.h b/src/include/access/xact.h index 7abcb63e69..fa24882061 100644 --- a/src/include/access/xact.h +++ b/src/include/access/xact.h @@ -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 * ---------------- -- cgit v1.2.1