projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fa1eeb
)
IsTransactionBlock() should return true in TBLOCK_ABORT state.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 5 Sep 1999 17:12:34 +0000
(17:12 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 5 Sep 1999 17:12:34 +0000
(17:12 +0000)
src/backend/access/transam/xact.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xact.c
b/src/backend/access/transam/xact.c
index 79b640be070a331f7aa54c177a19a12158fae749..c9e16daa0d74fb12945cff5dcb20bf71861cfcd2 100644
(file)
--- a/
src/backend/access/transam/xact.c
+++ b/
src/backend/access/transam/xact.c
@@
-7,7
+7,7
@@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.
49 1999/09/04 19:55:48 momjian
Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.
50 1999/09/05 17:12:34 tgl
Exp $
*
* NOTES
* Transaction aborts can now occur two ways:
@@
-1530,6
+1530,7
@@
IsTransactionBlock()
TransactionState s = CurrentTransactionState;
if (s->blockState == TBLOCK_INPROGRESS
+ || s->blockState == TBLOCK_ABORT
|| s->blockState == TBLOCK_ENDABORT)
return true;