You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by yj...@apache.org on 2024/12/18 00:38:37 UTC
(cloudberry) 01/08: Fix temporary namespace access in guc.sql
This is an automated email from the ASF dual-hosted git repository.
yjhjstz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 2316502366817616081ad217701663fed471f232
Author: Sasasu <i...@sasa.su>
AuthorDate: Tue Mar 15 16:08:31 2022 +0800
Fix temporary namespace access in guc.sql
the test was introduced by #9484.
the previous test creates some temporary namespace if we kill the primary gang here.
all temporary scheme will be deleted. then new Gang will execute the query with old
temporary namespace id and raise a namespace id is invalid error.
---
src/test/regress/expected/guc.out | 7 -------
src/test/regress/sql/guc.sql | 3 ---
2 files changed, 10 deletions(-)
diff --git a/src/test/regress/expected/guc.out b/src/test/regress/expected/guc.out
index 05344dfcbb..723a3e6dc0 100644
--- a/src/test/regress/expected/guc.out
+++ b/src/test/regress/expected/guc.out
@@ -860,13 +860,6 @@ END;
$$ LANGUAGE plpgsql
SECURITY DEFINER
SET search_path = n1, pg_temp;
--- Destroy the QD-QE libpq connections.
-select cleanupAllGangs();
- cleanupallgangs
------------------
- t
-(1 row)
-
select n1.drop_table('public','t1');
NOTICE: table "t1" does not exist, skipping
drop_table
diff --git a/src/test/regress/sql/guc.sql b/src/test/regress/sql/guc.sql
index 53def083a0..4cda0fa6d0 100644
--- a/src/test/regress/sql/guc.sql
+++ b/src/test/regress/sql/guc.sql
@@ -332,9 +332,6 @@ $$ LANGUAGE plpgsql
SECURITY DEFINER
SET search_path = n1, pg_temp;
--- Destroy the QD-QE libpq connections.
-select cleanupAllGangs();
-
select n1.drop_table('public','t1');
-- After funtion drop table, public schema is still in search_path
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org