Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 22ff2b8

Browse files
committed
Update expected output of new test
Forgot to 'git add' the file after tweaking the test as submitted :-( Per buildfarm
1 parent 158b7bc commit 22ff2b8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/test/regress/expected/insert_conflict.out

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,9 +884,13 @@ insert into parted_conflict values (40, 'forty');
884884
insert into parted_conflict_1 values (40, 'cuarenta')
885885
on conflict (a) do update set b = excluded.b;
886886
ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification
887+
drop table parted_conflict;
887888
-- test whole-row Vars in ON CONFLICT expressions
889+
create table parted_conflict (a int, b text, c int) partition by range (a);
890+
create table parted_conflict_1 (drp text, c int, a int, b text);
891+
alter table parted_conflict_1 drop column drp;
888892
create unique index on parted_conflict (a, b);
889-
alter table parted_conflict add c int;
893+
alter table parted_conflict attach partition parted_conflict_1 for values from (0) to (1000);
890894
truncate parted_conflict;
891895
insert into parted_conflict values (50, 'cincuenta', 1);
892896
insert into parted_conflict values (50, 'cincuenta', 2)

0 commit comments

Comments
 (0)