Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 348640c

Browse files
author
Alexander Korotkov
committed
Fix in_memory regression tests according to query become working for some reason.
1 parent 747b3f0 commit 348640c

File tree

4 files changed

+0
-11
lines changed

4 files changed

+0
-11
lines changed

contrib/in_memory/expected/in_memory.out

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,10 +1281,7 @@ SELECT * FROM test_part;
12811281
INSERT INTO im_test1 VALUES (12, 'hello');
12821282
ERROR: new row for relation "im_test1" violates partition constraint
12831283
DETAIL: Failing row contains (12, hello).
1284-
-- XXX: fails currently cause junk columns are not filled
1285-
-- should fail cause there is no partition for id
12861284
UPDATE test_part SET id = 12 WHERE id = 3;
1287-
ERROR: could not find junk imfdwkey$0 column
12881285
-- fails because of partition constraint
12891286
UPDATE im_test1 SET id = 13 WHERE id = 4;
12901287
ERROR: new row for relation "im_test1" violates partition constraint

contrib/in_memory/expected/in_memory_1.out

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,10 +1281,7 @@ SELECT * FROM test_part;
12811281
INSERT INTO im_test1 VALUES (12, 'hello');
12821282
ERROR: new row for relation "im_test1" violates partition constraint
12831283
DETAIL: Failing row contains (12, hello).
1284-
-- XXX: fails currently cause junk columns are not filled
1285-
-- should fail cause there is no partition for id
12861284
UPDATE test_part SET id = 12 WHERE id = 3;
1287-
ERROR: could not find junk imfdwkey$0 column
12881285
-- fails because of partition constraint
12891286
UPDATE im_test1 SET id = 13 WHERE id = 4;
12901287
ERROR: new row for relation "im_test1" violates partition constraint

contrib/in_memory/expected/in_memory_2.out

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,10 +1281,7 @@ SELECT * FROM test_part;
12811281
INSERT INTO im_test1 VALUES (12, 'hello');
12821282
ERROR: new row for relation "im_test1" violates partition constraint
12831283
DETAIL: Failing row contains (12, hello).
1284-
-- XXX: fails currently cause junk columns are not filled
1285-
-- should fail cause there is no partition for id
12861284
UPDATE test_part SET id = 12 WHERE id = 3;
1287-
ERROR: could not find junk imfdwkey$0 column
12881285
-- fails because of partition constraint
12891286
UPDATE im_test1 SET id = 13 WHERE id = 4;
12901287
ERROR: new row for relation "im_test1" violates partition constraint

contrib/in_memory/sql/in_memory.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,6 @@ ALTER TABLE test_part ATTACH PARTITION im_test1 FOR VALUES FROM (1) TO (10);
244244
SELECT * FROM test_part;
245245
-- fails because of partition constraint
246246
INSERT INTO im_test1 VALUES (12, 'hello');
247-
-- XXX: fails currently cause junk columns are not filled
248-
-- should fail cause there is no partition for id
249247
UPDATE test_part SET id = 12 WHERE id = 3;
250248
-- fails because of partition constraint
251249
UPDATE im_test1 SET id = 13 WHERE id = 4;

0 commit comments

Comments
 (0)