Corresponding test changes to the FDW restriction removal
Thanks to "Remove restriction to INSERT/UPDATE/DELETE foreign relations
(#6202)", get the right upstream error message back.
@@ -200,11 +200,11 @@ SELECT tableoid::regclass, b FROM agg_csv;
-- updates aren't supported
INSERT INTO agg_csv VALUES(1,2.0);
-ERROR: foreign tables are read only. cannot change "agg_csv"
+ERROR: cannot insert into foreign table "agg_csv"
UPDATE agg_csv SET a = 1;
-ERROR: foreign tables are read only. cannot change "agg_csv"
+ERROR: cannot update foreign table "agg_csv"
DELETE FROM agg_csv WHERE a = 100;
-ERROR: foreign tables are read only. cannot change "agg_csv"
+ERROR: cannot delete from foreign table "agg_csv"
-- but this should be ignored
SELECT * FROM agg_csv FOR UPDATE;
a | b
