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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
