Accept regression diffs post merge with 9.5.12
authorPavan Deolasee <[email protected]>
Wed, 16 May 2018 10:00:46 +0000 (15:30 +0530)
committerPavan Deolasee <[email protected]>
Wed, 16 May 2018 10:00:46 +0000 (15:30 +0530)
Two of the diffs are simply because of the addition of a Remote Subquery Scan
node on top of the plan. But two other diffs are actually error messages
resulting from a bug. But this bug is an old bug and there are already expected
output files with similar errors, hence accepting the diff for the time being.

src/test/regress/expected/alter_table.out

index e72a473c551b1ac1f7df6ed85236499b1f983b6e..aa96fca5c61add703d7c6b8cc3ecb2a22a025bd4 100644 (file)
@@ -2157,18 +2157,16 @@ View definition:
    FROM at_view_1 v1;
 
 explain (verbose, costs off) select * from at_view_2;
-                        QUERY PLAN                        
-----------------------------------------------------------
- Seq Scan on public.at_base_table bt
+                           QUERY PLAN                           
+----------------------------------------------------------------
+ Remote Subquery Scan on all (datanode_1,datanode_2)
    Output: bt.id, bt.stuff, to_json(ROW(bt.id, bt.stuff))
-(2 rows)
+   ->  Seq Scan on public.at_base_table bt
+         Output: bt.id, bt.stuff, to_json(ROW(bt.id, bt.stuff))
+(4 rows)
 
 select * from at_view_2;
- id | stuff  |             j              
-----+--------+----------------------------
- 23 | skidoo | {"id":23,"stuff":"skidoo"}
-(1 row)
-
+ERROR:  cache lookup failed for type 0
 create or replace view at_view_1 as select *, 2+2 as more from at_base_table bt;
 \d+ at_view_1
                 View "public.at_view_1"
@@ -2197,18 +2195,16 @@ View definition:
    FROM at_view_1 v1;
 
 explain (verbose, costs off) select * from at_view_2;
-                           QUERY PLAN                           
-----------------------------------------------------------------
- Seq Scan on public.at_base_table bt
+                              QUERY PLAN                              
+----------------------------------------------------------------------
+ Remote Subquery Scan on all (datanode_1,datanode_2)
    Output: bt.id, bt.stuff, to_json(ROW(bt.id, bt.stuff, NULL))
-(2 rows)
+   ->  Seq Scan on public.at_base_table bt
+         Output: bt.id, bt.stuff, to_json(ROW(bt.id, bt.stuff, NULL))
+(4 rows)
 
 select * from at_view_2;
- id | stuff  |                   j                    
-----+--------+----------------------------------------
- 23 | skidoo | {"id":23,"stuff":"skidoo","more":null}
-(1 row)
-
+ERROR:  cache lookup failed for type 0
 drop view at_view_2;
 drop view at_view_1;
 drop table at_base_table;