From 4f140330b1cb1fabfb08d593197e689c40d2f4ff Mon Sep 17 00:00:00 2001 From: Ivan Kush Date: Sun, 7 Jul 2024 18:17:54 +0300 Subject: [PATCH] fix invalid n --- expected/53_1_5_features.out | 2 +- sql/53_1_5_features.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/expected/53_1_5_features.out b/expected/53_1_5_features.out index 22120c2..645e4dc 100644 --- a/expected/53_1_5_features.out +++ b/expected/53_1_5_features.out @@ -255,7 +255,7 @@ TABLE public.foo; Try cancel_then_terminate, which should first try to cancel ****/ -- This process should be killed -\! echo "BEGIN; SELECT * FROM public.foo;\n\! sleep 15" | psql contrib_regression > /dev/null 2>&1 & +\! echo "BEGIN; SELECT * FROM public.foo;\! sleep 15" | psql contrib_regression > /dev/null 2>&1 & -- This process should not be killed \! psql contrib_regression -c "BEGIN; INSERT INTO public.bar (bla) VALUES (1); SELECT pg_sleep(5); COMMIT;" > /dev/null 2>&1 & SELECT pg_sleep(1); diff --git a/sql/53_1_5_features.sql b/sql/53_1_5_features.sql index 8dcecf9..8f76523 100644 --- a/sql/53_1_5_features.sql +++ b/sql/53_1_5_features.sql @@ -144,7 +144,7 @@ TABLE public.foo; Try cancel_then_terminate, which should first try to cancel ****/ -- This process should be killed -\! echo "BEGIN; SELECT * FROM public.foo;\n\! sleep 15" | psql contrib_regression > /dev/null 2>&1 & +\! echo "BEGIN; SELECT * FROM public.foo;\! sleep 15" | psql contrib_regression > /dev/null 2>&1 & -- This process should not be killed \! psql contrib_regression -c "BEGIN; INSERT INTO public.bar (bla) VALUES (1); SELECT pg_sleep(5); COMMIT;" > /dev/null 2>&1 &