mirror of https://github.com/citusdata/citus.git
Merge 20b33deace into d4fcdcb82a
commit
6a846f7021
|
|
@ -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
|
# will be replaced with
|
||||||
# WARNING: "function pg_temp_xxx.f(bigint)" has dependency on unsupported object "<foo>"
|
# WARNING: "function pg_temp_xxx.f(bigint)" has dependency on unsupported object "<foo>"
|
||||||
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 ".*")$/\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:
|
# 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
|
s/^(DETAIL: "[a-z\ ]+ )pg_temp_[0-9]+(\..*" will be created only locally)$/\1pg_temp_xxx\2/g
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ SELECT create_distributed_table('test_stats', 'a');
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
CREATE STATISTICS pg_temp.s1 (dependencies) ON a, b FROM test_stats;
|
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;
|
CREATE STATISTICS s1 (dependencies) ON a, b FROM test_stats;
|
||||||
-- test for distributing an already existing statistics
|
-- test for distributing an already existing statistics
|
||||||
CREATE TABLE "test'stats2" (
|
CREATE TABLE "test'stats2" (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue