summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorBruce Momjian2005-09-19 17:21:49 +0000
committerBruce Momjian2005-09-19 17:21:49 +0000
commit658657177e04b6b3af39ed9236146065afb422d8 (patch)
tree4732e2dbad98df34c2ec753e4e7c14316ce97138 /src/test
parent591a29b39803c8c060de621feaaeadfeb0ddca7d (diff)
Print proper cause of statement cancel, user interaction or timeout.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/regress/expected/prepared_xacts.out4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/expected/prepared_xacts.out b/src/test/regress/expected/prepared_xacts.out
index f36d1a2428..aa4d22e8b7 100644
--- a/src/test/regress/expected/prepared_xacts.out
+++ b/src/test/regress/expected/prepared_xacts.out
@@ -159,7 +159,7 @@ SELECT gid FROM pg_prepared_xacts;
-- pxtest3 should be locked because of the pending DROP
set statement_timeout to 1000;
SELECT * FROM pxtest3;
-ERROR: canceling query due to user request or statement timeout
+ERROR: canceling statement due to statement timeout
reset statement_timeout;
-- Disconnect, we will continue testing in a different backend
\c -
@@ -174,7 +174,7 @@ SELECT gid FROM pg_prepared_xacts;
-- pxtest3 should still be locked because of the pending DROP
set statement_timeout to 1000;
SELECT * FROM pxtest3;
-ERROR: canceling query due to user request or statement timeout
+ERROR: canceling statement due to statement timeout
reset statement_timeout;
-- Commit table creation
COMMIT PREPARED 'regress-one';