Accept regressions diffs in copy2 test case
authorPavan Deolasee <[email protected]>
Thu, 24 Aug 2017 10:12:15 +0000 (15:42 +0530)
committerPavan Deolasee <[email protected]>
Thu, 24 Aug 2017 10:12:15 +0000 (15:42 +0530)
We do not support trigger and hence the regression differences.

src/test/regress/expected/copy2.out

index e61918c8c610c1a225a3637a9888e950d081bbd1..b9a4de858b103cfb9c2b7f9413f9a9eacc9d5f8b 100644 (file)
@@ -595,12 +595,15 @@ $$ LANGUAGE plpgsql;
 CREATE TRIGGER trig_instead_of_insert_tbl_view
   INSTEAD OF INSERT ON instead_of_insert_tbl_view
   FOR EACH ROW EXECUTE PROCEDURE fun_instead_of_insert_tbl();
+ERROR:  Postgres-XL does not support TRIGGER yet
+DETAIL:  The feature is not currently supported
 COPY instead_of_insert_tbl_view FROM stdin;
+ERROR:  cannot copy to view "instead_of_insert_tbl_view"
+HINT:  To enable copying to a view, provide an INSTEAD OF INSERT trigger.
 SELECT * FROM instead_of_insert_tbl;
- id | name  
-----+-------
-  1 | test1
-(1 row)
+ id | name 
+----+------
+(0 rows)
 
 -- clean up
 DROP TABLE forcetest;