Commit d5eab813 authored by Bruce Momjian's avatar Bruce Momjian

Adjust regression for new cancel query message.

parent 098d204a
...@@ -159,7 +159,7 @@ SELECT gid FROM pg_prepared_xacts; ...@@ -159,7 +159,7 @@ SELECT gid FROM pg_prepared_xacts;
-- pxtest3 should be locked because of the pending DROP -- pxtest3 should be locked because of the pending DROP
set statement_timeout to 1000; set statement_timeout to 1000;
SELECT * FROM pxtest3; SELECT * FROM pxtest3;
ERROR: canceling query due to user request ERROR: canceling query due to user request or statement timeout
reset statement_timeout; reset statement_timeout;
-- Disconnect, we will continue testing in a different backend -- Disconnect, we will continue testing in a different backend
\c - \c -
...@@ -174,7 +174,7 @@ SELECT gid FROM pg_prepared_xacts; ...@@ -174,7 +174,7 @@ SELECT gid FROM pg_prepared_xacts;
-- pxtest3 should still be locked because of the pending DROP -- pxtest3 should still be locked because of the pending DROP
set statement_timeout to 1000; set statement_timeout to 1000;
SELECT * FROM pxtest3; SELECT * FROM pxtest3;
ERROR: canceling query due to user request ERROR: canceling query due to user request or statement timeout
reset statement_timeout; reset statement_timeout;
-- Commit table creation -- Commit table creation
COMMIT PREPARED 'regress-one'; COMMIT PREPARED 'regress-one';
......
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