summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Herrera2018-04-16 19:39:32 +0000
committerAlvaro Herrera2018-04-16 19:39:32 +0000
commit22ff2b8583b2580d8b423939a658fcd1d38741b4 (patch)
tree5aa09db33362105039282062e46a299741961538 /src
parent158b7bc6d77948d2f474dc9f2777c87f81d1365a (diff)
Update expected output of new test
Forgot to 'git add' the file after tweaking the test as submitted :-( Per buildfarm
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/expected/insert_conflict.out6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/regress/expected/insert_conflict.out b/src/test/regress/expected/insert_conflict.out
index b27ad25d378..27cf5a01b36 100644
--- a/src/test/regress/expected/insert_conflict.out
+++ b/src/test/regress/expected/insert_conflict.out
@@ -884,9 +884,13 @@ insert into parted_conflict values (40, 'forty');
insert into parted_conflict_1 values (40, 'cuarenta')
on conflict (a) do update set b = excluded.b;
ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification
+drop table parted_conflict;
-- test whole-row Vars in ON CONFLICT expressions
+create table parted_conflict (a int, b text, c int) partition by range (a);
+create table parted_conflict_1 (drp text, c int, a int, b text);
+alter table parted_conflict_1 drop column drp;
create unique index on parted_conflict (a, b);
-alter table parted_conflict add c int;
+alter table parted_conflict attach partition parted_conflict_1 for values from (0) to (1000);
truncate parted_conflict;
insert into parted_conflict values (50, 'cincuenta', 1);
insert into parted_conflict values (50, 'cincuenta', 2)