Fix regression test for file_fdw to follow changes about COPY error
authorShigeru Hanada <[email protected]>
Tue, 8 Feb 2011 09:42:50 +0000 (18:42 +0900)
committerShigeru Hanada <[email protected]>
Tue, 8 Feb 2011 09:42:50 +0000 (18:42 +0900)
messages.

Patch by Andrew Dunstan.

contrib/file_fdw/output/file_fdw.source

index f8ce4ca265b87e926c3c2b07c66a5a2847f26290..7021ad866844103a828d12d8f963037b7c7909e5 100644 (file)
@@ -89,7 +89,7 @@ SELECT * FROM agg_csv c JOIN agg_text t ON (t.a = c.a) ORDER BY c.a;
 -- error context report tests
 SELECT * FROM agg_bad;               -- ERROR
 ERROR:  invalid input syntax for type real: "aaa"
-CONTEXT:  COPY agg_bad, line 3, column b: "aaa"
+CONTEXT:  relation agg_bad, line 3, column b: "aaa"
 -- misc query tests
 \t on
 EXPLAIN (VERBOSE, COSTS FALSE) SELECT * FROM agg_csv;