diff --git a/src/test/regress/bin/normalize.sed b/src/test/regress/bin/normalize.sed index 1ec8fd923..7260de36c 100644 --- a/src/test/regress/bin/normalize.sed +++ b/src/test/regress/bin/normalize.sed @@ -248,6 +248,7 @@ s/Error on node with node id [0-9]+/Error on node with node id xxxxx/g # will be replaced with # WARNING: "function pg_temp_xxx.f(bigint)" has dependency on unsupported object "" s/^(WARNING|ERROR)(: "[a-z\ ]+ )pg_temp_[0-9]+(\..*" has dependency on unsupported object ".*")$/\1\2pg_temp_xxx\3/g +s/^(WARNING|ERROR)(: "[a-z\ ]+ )pg_temp_[0-9]+(\..*" has dependency on unsupported object "schema .*")$/\1\2pg_temp_xxx\3/g # 2) Schema of the depending object in the error detail: s/^(DETAIL: "[a-z\ ]+ )pg_temp_[0-9]+(\..*" will be created only locally)$/\1pg_temp_xxx\2/g diff --git a/src/test/regress/expected/propagate_statistics.out b/src/test/regress/expected/propagate_statistics.out index 80e944bc8..02563c22a 100644 --- a/src/test/regress/expected/propagate_statistics.out +++ b/src/test/regress/expected/propagate_statistics.out @@ -16,7 +16,7 @@ SELECT create_distributed_table('test_stats', 'a'); (1 row) CREATE STATISTICS pg_temp.s1 (dependencies) ON a, b FROM test_stats; -ERROR: "statistics object s1" has dependency on unsupported object "schema pg_temp_xxx" +ERROR: "statistics object pg_temp_xxx.s1" has dependency on unsupported object "schema pg_temp_xxx" CREATE STATISTICS s1 (dependencies) ON a, b FROM test_stats; -- test for distributing an already existing statistics CREATE TABLE "test'stats2" (