diff --git a/src/test/regress/expected/global_cancel.out b/src/test/regress/expected/global_cancel.out index 6a206b0ad..a028df420 100644 --- a/src/test/regress/expected/global_cancel.out +++ b/src/test/regress/expected/global_cancel.out @@ -1,6 +1,7 @@ CREATE SCHEMA global_cancel; SET search_path TO global_cancel; SET citus.next_shard_id TO 56789000; +SET citus.grep_remote_commands TO '%pg_cancel_backend%'; CREATE TABLE dist_table (a INT, b INT); SELECT create_distributed_table ('dist_table', 'a', shard_count:=4); create_distributed_table @@ -25,8 +26,6 @@ DETAIL: on server postgres@localhost:xxxxx connectionId: xxxxxxx ERROR: canceling statement due to user request BEGIN; SELECT pg_cancel_backend(:coordinator_gpid) FROM dist_table WHERE a = 1; -NOTICE: issuing BEGIN TRANSACTION ISOLATION LEVEL READ COMMITTED;SELECT assign_distributed_transaction_id(xx, xx, 'xxxxxxx'); -DETAIL: on server postgres@localhost:xxxxx connectionId: xxxxxxx NOTICE: issuing SELECT pg_cancel_backend('xxxxx'::bigint) AS pg_cancel_backend FROM global_cancel.dist_table_56789000 dist_table WHERE (a OPERATOR(pg_catalog.=) 1) DETAIL: on server postgres@localhost:xxxxx connectionId: xxxxxxx ERROR: canceling statement due to user request @@ -100,13 +99,13 @@ WHERE isactive = true AND noderole = 'primary'; SELECT citus_nodeid_for_gpid(10000000000 * 2 + 3); citus_nodeid_for_gpid --------------------------------------------------------------------- - 2 + 2 (1 row) SELECT citus_pid_for_gpid(10000000000 * 2 + 3); citus_pid_for_gpid --------------------------------------------------------------------- - 3 + 3 (1 row) DROP SCHEMA global_cancel CASCADE; diff --git a/src/test/regress/sql/global_cancel.sql b/src/test/regress/sql/global_cancel.sql index 6dc58aa2d..d89b83175 100644 --- a/src/test/regress/sql/global_cancel.sql +++ b/src/test/regress/sql/global_cancel.sql @@ -1,6 +1,7 @@ CREATE SCHEMA global_cancel; SET search_path TO global_cancel; SET citus.next_shard_id TO 56789000; +SET citus.grep_remote_commands TO '%pg_cancel_backend%'; CREATE TABLE dist_table (a INT, b INT); SELECT create_distributed_table ('dist_table', 'a', shard_count:=4);