fix regression test breakage due to minor changes in output
authorTomas Vondra <[email protected]>
Sun, 22 Jan 2017 16:52:18 +0000 (17:52 +0100)
committerTomas Vondra <[email protected]>
Sun, 22 Jan 2017 16:52:18 +0000 (17:52 +0100)
Typically change in error message wording, description output etc.

src/test/regress/expected/insert.out
src/test/regress/expected/replica_identity.out
src/test/regress/expected/select_into.out
src/test/regress/expected/updatable_views.out

index db59e887be565d2553abd952ed0e2bb1530067c0..9af76a871dee21ec72171aa28a689c12da55d476 100644 (file)
@@ -156,6 +156,8 @@ Rules:
     irule3 AS
     ON INSERT TO inserttest2 DO  INSERT INTO inserttest (f4[1].if1, f4[1].if2[2])  SELECT new.f1,
             new.f2
+Distribute By: HASH(f1)
+Location Nodes: ALL DATANODES
 
 drop table inserttest2;
 drop table inserttest;
index 1b539c3b573f2c02de889d142fe22a4ad6f7b53b..d230f9d57e027561fa500e4f8b490e03c983bd74 100644 (file)
@@ -178,9 +178,9 @@ Indexes:
     "test_replica_identity_hash" hash (nonkey)
     "test_replica_identity_keyab" btree (keya, keyb)
 Replica Identity: FULL
+Has OIDs: yes
 Distribute By: REPLICATION
 Location Nodes: ALL DATANODES
-Has OIDs: yes
 
 ALTER TABLE test_replica_identity REPLICA IDENTITY NOTHING;
 SELECT relreplident FROM pg_class WHERE oid = 'test_replica_identity'::regclass;
index c11bb58b6390a82b3e40a9307b5d6335b41cada9..8662413656f362ddd6db19b95b6b71d99c2686d9 100644 (file)
@@ -54,9 +54,9 @@ DROP USER regress_selinto_user;
 CREATE TABLE ctas_base (i int, j int);
 INSERT INTO ctas_base VALUES (1, 2);
 CREATE TABLE ctas_nodata (ii, jj, kk) AS SELECT i, j FROM ctas_base; -- Error
-ERROR:  too many column names were specified
+ERROR:  CREATE TABLE AS specifies too many column names
 CREATE TABLE ctas_nodata (ii, jj, kk) AS SELECT i, j FROM ctas_base WITH NO DATA; -- Error
-ERROR:  too many column names were specified
+ERROR:  CREATE TABLE AS specifies too many column names
 CREATE TABLE ctas_nodata (ii, jj) AS SELECT i, j FROM ctas_base; -- OK
 CREATE TABLE ctas_nodata_2 (ii, jj) AS SELECT i, j FROM ctas_base WITH NO DATA; -- OK
 CREATE TABLE ctas_nodata_3 (ii) AS SELECT i, j FROM ctas_base; -- OK
index 74f5c8a909574c765b639eb58a754e87b96baaa2..fd70e9050d185ee72d2b5b484db8eb3ae40028b5 100644 (file)
@@ -1699,7 +1699,7 @@ ERROR:  Postgres-XL does not support TRIGGER yet
 DETAIL:  The feature is not currently supported
 CREATE VIEW rw_view1 AS SELECT * FROM base_tbl WHERE a < b WITH CHECK OPTION;
 INSERT INTO rw_view1 VALUES (5,0); -- ok
-ERROR:  new row violates WITH CHECK OPTION for "rw_view1"
+ERROR:  new row violates check option for view "rw_view1"
 DETAIL:  Failing row contains (5, 0).
 INSERT INTO rw_view1 VALUES (15, 20); -- should fail
 UPDATE rw_view1 SET a = 20, b = 30; -- should fail
@@ -1734,7 +1734,7 @@ DETAIL:  The feature is not currently supported
 CREATE VIEW rw_view2 AS
   SELECT * FROM rw_view1 WHERE a > 0 WITH LOCAL CHECK OPTION;
 INSERT INTO rw_view2 VALUES (-5); -- should fail
-ERROR:  new row violates WITH CHECK OPTION for "rw_view2"
+ERROR:  new row violates check option for view "rw_view2"
 DETAIL:  Failing row contains (-5, null).
 INSERT INTO rw_view2 VALUES (5); -- ok
 INSERT INTO rw_view2 VALUES (50); -- ok, but not in view
@@ -1749,7 +1749,7 @@ SELECT * FROM base_tbl;
 -- Check option won't cascade down to base view with INSTEAD OF triggers
 ALTER VIEW rw_view2 SET (check_option=cascaded);
 INSERT INTO rw_view2 VALUES (100); -- ok, but not in view (doesn't fail rw_view1's check)
-ERROR:  new row violates WITH CHECK OPTION for "rw_view1"
+ERROR:  new row violates check option for view "rw_view1"
 DETAIL:  Failing row contains (100, null).
 UPDATE rw_view2 SET a = 200 WHERE a = 5; -- ok, but not in view (doesn't fail rw_view1's check)
 SELECT * FROM base_tbl;