aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1998-12-18 09:10:39 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1998-12-18 09:10:39 +0000
commit3498d878cb5951fcfaae2ca78f46eacf0b140e7b (patch)
treec43274bd808bc8fe445cd6d319aebefc176a9436 /src/backend/executor
parentc7da80bb9a14b0b4b55574b0efa356128190936e (diff)
downloadpostgresql-3498d878cb5951fcfaae2ca78f46eacf0b140e7b.tar.gz
postgresql-3498d878cb5951fcfaae2ca78f46eacf0b140e7b.zip
SET TRANSACTION ISOLATION LEVEL ...
LOCK TABLE IN ... MODE ...implemented
Diffstat (limited to 'src/backend/executor')
-rw-r--r--src/backend/executor/execMain.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c
index 6b0a9bd8f78..7a7aa854859 100644
--- a/src/backend/executor/execMain.c
+++ b/src/backend/executor/execMain.c
@@ -26,7 +26,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.61 1998/12/16 11:53:45 vadim Exp $
+ * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.62 1998/12/18 09:10:21 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1037,8 +1037,8 @@ ExecDelete(TupleTableSlot *slot,
break;
case HeapTupleUpdated:
- if (XactIsoLevel == XACT_SERIALIZED)
- elog(ERROR, "Serialize access failed due to concurrent update");
+ if (XactIsoLevel == XACT_SERIALIZABLE)
+ elog(ERROR, "Can't serialize access due to concurrent update");
else
elog(ERROR, "Isolation level %u is not supported", XactIsoLevel);
return;
@@ -1167,8 +1167,8 @@ ExecReplace(TupleTableSlot *slot,
break;
case HeapTupleUpdated:
- if (XactIsoLevel == XACT_SERIALIZED)
- elog(ERROR, "Serialize access failed due to concurrent update");
+ if (XactIsoLevel == XACT_SERIALIZABLE)
+ elog(ERROR, "Can't serialize access due to concurrent update");
else
elog(ERROR, "Isolation level %u is not supported", XactIsoLevel);
return;