Fix 2 tests.
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,
------------------------------+---------
enable_bitmapscan | on
enable_datanode_row_triggers | off
+ enable_fast_query_shipping | on
enable_hashagg | on
enable_hashjoin | on
enable_indexonlyscan | on
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);
-- 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
$$
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);