提交 c1097447 编写于 作者: H Heikki Linnakangas

Silence deadlock from test case.

This test case caused a deadlock, with gp_cte_sharing=on. Disable the
offending test query, until the issue is fixed.
上级 787992e4
......@@ -1330,6 +1330,10 @@ SELECT * FROM newfoo;
DROP TABLE newfoo;
-- @description test28a: CTE with AO/CO tables
-- FIXME: This deadlocks with gp_cte_sharing=on, so disable that temporarily.
-- See https://github.com/greenplum-db/gpdb/issues/1967
begin;
set local gp_cte_sharing=off;
WITH v AS (SELECT a, b FROM foo_ao WHERE b < 5),
w AS (SELECT c, d FROM bar_co WHERE c < 9)
SELECT v1.a, w1.c, w2.d
......@@ -1343,6 +1347,7 @@ AND v1.b = w2.d ORDER BY 1;
3 | 3 | 4
(2 rows)
rollback;
-- @description test28b: CTE with AO/CO tables[ Multiple CTE with dependency]
WITH v AS (SELECT a, b FROM foo_ao WHERE b < 5),
w AS (SELECT * FROM v WHERE a < 2)
......
......@@ -1329,6 +1329,10 @@ SELECT * FROM newfoo;
DROP TABLE newfoo;
-- @description test28a: CTE with AO/CO tables
-- FIXME: This deadlocks with gp_cte_sharing=on, so disable that temporarily.
-- See https://github.com/greenplum-db/gpdb/issues/1967
begin;
set local gp_cte_sharing=off;
WITH v AS (SELECT a, b FROM foo_ao WHERE b < 5),
w AS (SELECT c, d FROM bar_co WHERE c < 9)
SELECT v1.a, w1.c, w2.d
......@@ -1342,6 +1346,7 @@ AND v1.b = w2.d ORDER BY 1;
3 | 3 | 4
(2 rows)
rollback;
-- @description test28b: CTE with AO/CO tables[ Multiple CTE with dependency]
WITH v AS (SELECT a, b FROM foo_ao WHERE b < 5),
w AS (SELECT * FROM v WHERE a < 2)
......
......@@ -747,6 +747,10 @@ SELECT * FROM newfoo;
DROP TABLE newfoo;
-- @description test28a: CTE with AO/CO tables
-- FIXME: This deadlocks with gp_cte_sharing=on, so disable that temporarily.
-- See https://github.com/greenplum-db/gpdb/issues/1967
begin;
set local gp_cte_sharing=off;
WITH v AS (SELECT a, b FROM foo_ao WHERE b < 5),
w AS (SELECT c, d FROM bar_co WHERE c < 9)
SELECT v1.a, w1.c, w2.d
......@@ -754,6 +758,7 @@ FROM v AS v1, v as v2, w AS w1, w AS w2
WHERE v1.a = v2.b
AND v1.a = w1.c
AND v1.b = w2.d ORDER BY 1;
rollback;
-- @description test28b: CTE with AO/CO tables[ Multiple CTE with dependency]
WITH v AS (SELECT a, b FROM foo_ao WHERE b < 5),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册