Commit 82748bc2 authored by Bruce Momjian's avatar Bruce Momjian

Reduce error level of ROLLBACK outside a transaction from WARNING to

NOTICE.
parent a341b876
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/transam/xact.c,v 1.251 2007/09/11 03:28:05 tgl Exp $ * $PostgreSQL: pgsql/src/backend/access/transam/xact.c,v 1.252 2007/11/10 14:36:44 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -3025,7 +3025,7 @@ UserAbortTransactionBlock(void) ...@@ -3025,7 +3025,7 @@ UserAbortTransactionBlock(void)
* default state. * default state.
*/ */
case TBLOCK_STARTED: case TBLOCK_STARTED:
ereport(WARNING, ereport(NOTICE,
(errcode(ERRCODE_NO_ACTIVE_SQL_TRANSACTION), (errcode(ERRCODE_NO_ACTIVE_SQL_TRANSACTION),
errmsg("there is no transaction in progress"))); errmsg("there is no transaction in progress")));
s->blockState = TBLOCK_ABORT_PENDING; s->blockState = TBLOCK_ABORT_PENDING;
......
...@@ -116,7 +116,7 @@ ERROR: column "oid" of relation "stud_emp" already exists ...@@ -116,7 +116,7 @@ ERROR: column "oid" of relation "stud_emp" already exists
-- not in a xact -- not in a xact
abort; abort;
WARNING: there is no transaction in progress NOTICE: there is no transaction in progress
-- not in a xact -- not in a xact
end; end;
WARNING: there is no transaction in progress WARNING: there is no transaction in progress
......
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