Test output changes
authorPallavi Sontakke <[email protected]>
Wed, 27 Jan 2016 13:45:24 +0000 (19:15 +0530)
committerPallavi Sontakke <[email protected]>
Wed, 27 Jan 2016 13:45:24 +0000 (19:15 +0530)
Fix 2 tests.

src/test/regress/expected/foreign_data_1.out
src/test/regress/expected/rangefuncs.out
src/test/regress/input/xc_copy.source

index 541b058c960a4026e256d78efebfd451111de94a..5575f590c894d3d13ccdbaaa01b7f82ceb77066e 100644 (file)
@@ -1411,15 +1411,15 @@ DROP FOREIGN TABLE IF EXISTS no_table;
 NOTICE:  foreign table "no_table" does not exist, skipping
 DROP FOREIGN TABLE foreign_schema.foreign_table_1;
 ERROR:  foreign table "foreign_table_1" does not exist
+-- REASSIGN OWNED/DROP OWNED of foreign objects
+REASSIGN OWNED BY regress_test_role TO regress_test_role2;
+DROP OWNED BY regress_test_role2;
+DROP OWNED BY regress_test_role2 CASCADE;
 -- Cleanup
 DROP SCHEMA foreign_schema CASCADE;
 DROP ROLE regress_test_role;                                -- ERROR
-DROP SERVER s5 CASCADE;
-ERROR:  server "s5" does not exist
 DROP SERVER t1 CASCADE;
 ERROR:  server "t1" does not exist
-DROP SERVER t2;
-ERROR:  server "t2" does not exist
 DROP USER MAPPING FOR regress_test_role SERVER s6;
 ERROR:  role "regress_test_role" does not exist
 -- This test causes some order dependent cascade detail output,
index 3fc3ab7507f8a7bc2b552e0f8962468766e2446a..c461b510066b33bf3661861e2212f5b00591262f 100644 (file)
@@ -3,6 +3,7 @@ SELECT name, setting FROM pg_settings WHERE name LIKE 'enable%' ORDER BY name;
 ------------------------------+---------
  enable_bitmapscan            | on
  enable_datanode_row_triggers | off
+ enable_fast_query_shipping   | on
  enable_hashagg               | on
  enable_hashjoin              | on
  enable_indexonlyscan         | on
@@ -13,7 +14,7 @@ SELECT name, setting FROM pg_settings WHERE name LIKE 'enable%' ORDER BY name;
  enable_seqscan               | on
  enable_sort                  | on
  enable_tidscan               | on
-(12 rows)
+(13 rows)
 
 CREATE TABLE foo2(fooid int, f2 int);
 INSERT INTO foo2 VALUES(1, 11);
index cf08efe74d1363be4760c3e4a6a02f7829d5a018..5079ce8176d18c314503c230a3b5b2feebff1077 100644 (file)
@@ -2,7 +2,7 @@
 -- XC_COPY
 --
 
--- COPY tests for a Postgres-XC cluster
+-- COPY tests for a Postgres-XL cluster
 
 create or replace function pgxc_nodetype() returns varchar as 
 $$
@@ -92,7 +92,7 @@ drop function deffunc_str();
 drop function deffunc_str_i();
 drop function deffunc_nullstring();
 
--- Tests related to COPY for a Postgres-XC cluster
+-- Tests related to COPY for a Postgres-XL cluster
 -- Create a table not using the first node of cluster
 SELECT create_table_nodes('xc_copy_1(a int, b int)', '{2}'::int[], 'replication', NULL);
 INSERT INTO xc_copy_1 VALUES (1,23),(34,5),(9,11);