File tree Expand file tree Collapse file tree 4 files changed +0
-11
lines changed Expand file tree Collapse file tree 4 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -1281,10 +1281,7 @@ SELECT * FROM test_part;
1281
1281
INSERT INTO im_test1 VALUES (12, 'hello');
1282
1282
ERROR: new row for relation "im_test1" violates partition constraint
1283
1283
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
1286
1284
UPDATE test_part SET id = 12 WHERE id = 3;
1287
- ERROR: could not find junk imfdwkey$0 column
1288
1285
-- fails because of partition constraint
1289
1286
UPDATE im_test1 SET id = 13 WHERE id = 4;
1290
1287
ERROR: new row for relation "im_test1" violates partition constraint
Original file line number Diff line number Diff line change @@ -1281,10 +1281,7 @@ SELECT * FROM test_part;
1281
1281
INSERT INTO im_test1 VALUES (12, 'hello');
1282
1282
ERROR: new row for relation "im_test1" violates partition constraint
1283
1283
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
1286
1284
UPDATE test_part SET id = 12 WHERE id = 3;
1287
- ERROR: could not find junk imfdwkey$0 column
1288
1285
-- fails because of partition constraint
1289
1286
UPDATE im_test1 SET id = 13 WHERE id = 4;
1290
1287
ERROR: new row for relation "im_test1" violates partition constraint
Original file line number Diff line number Diff line change @@ -1281,10 +1281,7 @@ SELECT * FROM test_part;
1281
1281
INSERT INTO im_test1 VALUES (12, 'hello');
1282
1282
ERROR: new row for relation "im_test1" violates partition constraint
1283
1283
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
1286
1284
UPDATE test_part SET id = 12 WHERE id = 3;
1287
- ERROR: could not find junk imfdwkey$0 column
1288
1285
-- fails because of partition constraint
1289
1286
UPDATE im_test1 SET id = 13 WHERE id = 4;
1290
1287
ERROR: new row for relation "im_test1" violates partition constraint
Original file line number Diff line number Diff line change @@ -244,8 +244,6 @@ ALTER TABLE test_part ATTACH PARTITION im_test1 FOR VALUES FROM (1) TO (10);
244
244
SELECT * FROM test_part;
245
245
-- fails because of partition constraint
246
246
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
249
247
UPDATE test_part SET id = 12 WHERE id = 3 ;
250
248
-- fails because of partition constraint
251
249
UPDATE im_test1 SET id = 13 WHERE id = 4 ;
You can’t perform that action at this time.
0 commit comments