From 217a87c848e49fb53e0f1396adb89645c8cbd1a9 Mon Sep 17 00:00:00 2001 From: Mehmet Yilmaz Date: Thu, 7 Nov 2024 09:35:58 +0000 Subject: [PATCH] normalization update --- citus-tools | 1 + src/test/regress/bin/normalize.sed | 2 ++ src/test/regress/expected/multi_mx_router_planner_0.out | 8 ++++---- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 160000 citus-tools diff --git a/citus-tools b/citus-tools new file mode 160000 index 000000000..3376bd684 --- /dev/null +++ b/citus-tools @@ -0,0 +1 @@ +Subproject commit 3376bd6845f0614908ed304f5033bd644c82d3bf diff --git a/src/test/regress/bin/normalize.sed b/src/test/regress/bin/normalize.sed index 2dc5d6e88..80c8e6aa3 100644 --- a/src/test/regress/bin/normalize.sed +++ b/src/test/regress/bin/normalize.sed @@ -309,3 +309,5 @@ s/permission denied to terminate process/must be a superuser to terminate superu s/permission denied to cancel query/must be a superuser to cancel superuser query/g #endif /* PG_VERSION_NUM < PG_VERSION_16 */ + +s/DEBUG: drop auto-cascades to type public\.pg_temp_[0-9]\+/DEBUG: drop auto-cascades to type public.pg_temp_xxxxx/g \ No newline at end of file diff --git a/src/test/regress/expected/multi_mx_router_planner_0.out b/src/test/regress/expected/multi_mx_router_planner_0.out index af57f0b37..d66834e01 100644 --- a/src/test/regress/expected/multi_mx_router_planner_0.out +++ b/src/test/regress/expected/multi_mx_router_planner_0.out @@ -1469,8 +1469,8 @@ CREATE MATERIALIZED VIEW mv_articles_hash_mx AS SELECT * FROM articles_hash_mx WHERE author_id = 1; DEBUG: Creating router plan DEBUG: query has a single distribution column value: 1 -DEBUG: drop auto-cascades to type public.pg_temp_25895 -DEBUG: drop auto-cascades to type public.pg_temp_25895[] +DEBUG: drop auto-cascades to type public.pg_temp_xxxxx +DEBUG: drop auto-cascades to type public.pg_temp_xxxxx[] SELECT * FROM mv_articles_hash_mx; id | author_id | title | word_count --------------------------------------------------------------------- @@ -1487,8 +1487,8 @@ SET client_min_messages to 'DEBUG2'; CREATE MATERIALIZED VIEW mv_articles_hash_mx_error AS SELECT * FROM articles_hash_mx WHERE author_id in (1,2); DEBUG: Router planner cannot handle multi-shard select queries -DEBUG: drop auto-cascades to type public.pg_temp_25902 -DEBUG: drop auto-cascades to type public.pg_temp_25902[] +DEBUG: drop auto-cascades to type public.pg_temp_xxxxx +DEBUG: drop auto-cascades to type public.pg_temp_xxxxx[] INSERT INTO articles_hash_mx VALUES (51, 1, 'amateus', 1814); DEBUG: Creating router plan DEBUG: query has a single distribution column value: 1