summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorTomas Vondra2017-10-08 18:36:35 +0000
committerTomas Vondra2017-10-08 18:36:35 +0000
commitd97e4f668ab404977dad114d148dd29bc4aee8fb (patch)
tree42370f183fcc1c9075ad30c10ef2fe7604d1f3de /src/test
parent445372c5d3ad77f14b63c23eba4e37fecc631946 (diff)
Accept warnings about inheriting distribution from parent
Commit e26a0e07d8 started ignoring distributions defined on partitions, but omitted this place in 'rules' when accepting the warnings.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/regress/expected/rules.out4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/regress/expected/rules.out b/src/test/regress/expected/rules.out
index 8cc84adc8b..7a273e3cbf 100644
--- a/src/test/regress/expected/rules.out
+++ b/src/test/regress/expected/rules.out
@@ -2656,7 +2656,11 @@ NOTICE: drop cascades to 4 other objects
--
create temp table t1 (a integer primary key) distribute by replication;
create temp table t1_1 (check (a >= 0 and a < 10)) inherits (t1) distribute by replication;
+WARNING: Inherited/partition tables inherit distribution from the parent
+DETAIL: Explicitly specified distribution will be ignored
create temp table t1_2 (check (a >= 10 and a < 20)) inherits (t1) distribute by replication;
+WARNING: Inherited/partition tables inherit distribution from the parent
+DETAIL: Explicitly specified distribution will be ignored
create rule t1_ins_1 as on insert to t1
where new.a >= 0 and new.a < 10
do instead