citus/src
Cédric Villemain dfc26f9a2a Fix insert planner crash
-- TODO crash Citus
--- INSERT INTO domain_indirection_test (f1,f3.if1, f3.if2) SELECT 0, 1, 2;
+INSERT INTO domain_indirection_test (f1,f3.if1, f3.if2) SELECT 0, 1, 2;
+ERROR:  cannot plan distributed INSERT INTO ... SELECT query
+HINT:  Do not use array references and field stores on the INSERT target list.
 INSERT INTO domain_indirection_test (f1,f3.if1) VALUES (0, 1);
 ERROR:  inserting or modifying composite type fields is not supported
 HINT:  Use the column name to insert or update the composite type as a single value
 -- TODO here: not the expected ERROR
 -- INSERT INTO domain_indirection_test (f1,f3.if1) SELECT 0, 1;
 -- ERROR:  could not find a conversion path from type 23 to 17619
  UPDATE domain_indirection_test SET domain_array[0].if2 = 5;
 ERROR:  inserting or modifying composite type fields is not supported
 HINT:  Use the column name to insert or update the composite type as a single value
 -- TODO here: not the expected ERROR
2025-04-16 08:16:06 +02:00
..
backend Fix insert planner crash 2025-04-16 08:16:06 +02:00
include Propagates GRANT/REVOKE rights on table columns (#7918) 2025-04-04 11:54:16 +03:00
test Fix insert planner crash 2025-04-16 08:16:06 +02:00