Commit 823ac7c2 authored by Bruce Momjian's avatar Bruce Momjian

This is a cleanup patch for access/transam/xact.c. It only removes some

#ifdef NOT_USED code, and adds a new TBLOCK state which signals the fact
that StartTransaction() has been executed.

Alvaro Herrera
parent 0969dc86
This diff is collapsed.
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/include/access/xact.h,v 1.61 2004/02/11 22:55:25 tgl Exp $ * $PostgreSQL: pgsql/src/include/access/xact.h,v 1.62 2004/04/05 03:11:39 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -58,6 +58,7 @@ typedef enum TransState ...@@ -58,6 +58,7 @@ typedef enum TransState
typedef enum TBlockState typedef enum TBlockState
{ {
TBLOCK_DEFAULT, TBLOCK_DEFAULT,
TBLOCK_STARTED,
TBLOCK_BEGIN, TBLOCK_BEGIN,
TBLOCK_INPROGRESS, TBLOCK_INPROGRESS,
TBLOCK_END, TBLOCK_END,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment