Parsed test spec with 2 sessions

starting permutation: s1-begin s1-add-node-1 s2-create-extension-version-11 s1-commit s1-print
step s1-begin:
 BEGIN;

step s1-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-create-extension-version-11:
 CREATE extension seg VERSION "1.1";
 <waiting ...>
step s1-commit: 
 COMMIT;

step s2-create-extension-version-11: <... completed>
step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(extension,{seg},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(8 rows)

extname|extversion|nspname
---------------------------------------------------------------------
seg    |       1.1|public
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,seg)
(localhost,57638,t,seg)
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,1.1)
(localhost,57638,t,1.1)
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,public)
(localhost,57638,t,public)
(2 rows)

master_remove_node
---------------------------------------------------------------------


(2 rows)


starting permutation: s1-begin s1-add-node-1 s2-alter-extension-update-to-version-12 s1-commit s1-print
step s1-begin:
 BEGIN;

step s1-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-alter-extension-update-to-version-12:
 ALTER extension seg update to "1.2";
 <waiting ...>
step s1-commit: 
 COMMIT;

step s2-alter-extension-update-to-version-12: <... completed>
step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(extension,{seg},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(8 rows)

extname|extversion|nspname
---------------------------------------------------------------------
seg    |       1.2|public
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,seg)
(localhost,57638,t,seg)
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,1.2)
(localhost,57638,t,1.2)
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,public)
(localhost,57638,t,public)
(2 rows)

master_remove_node
---------------------------------------------------------------------


(2 rows)


starting permutation: s1-add-node-1 s1-begin s1-remove-node-1 s2-drop-extension s1-commit s1-print
step s1-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s1-begin:
 BEGIN;

step s1-remove-node-1:
 SELECT 1 FROM master_remove_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-drop-extension:
 drop extension seg;
 <waiting ...>
step s1-commit: 
 COMMIT;

step s2-drop-extension: <... completed>
step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(7 rows)

extname|extversion|nspname
---------------------------------------------------------------------
(0 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,"")
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,"")
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,"")
(1 row)

master_remove_node
---------------------------------------------------------------------

(1 row)


starting permutation: s1-begin s1-add-node-1 s2-create-extension-with-schema1 s1-commit s1-print
step s1-begin:
 BEGIN;

step s1-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-create-extension-with-schema1:
 CREATE extension seg with version "1.3" schema schema1;
 <waiting ...>
step s1-commit: 
 COMMIT;

step s2-create-extension-with-schema1: <... completed>
step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(extension,{seg},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(8 rows)

extname|extversion|nspname
---------------------------------------------------------------------
seg    |       1.3|schema1
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,seg)
(localhost,57638,t,seg)
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,1.2)
(localhost,57638,t,1.3)
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,public)
(localhost,57638,t,schema1)
(2 rows)

master_remove_node
---------------------------------------------------------------------


(2 rows)


starting permutation: s1-begin s1-add-node-1 s2-drop-extension s1-commit s1-print
step s1-begin:
 BEGIN;

step s1-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-drop-extension:
 drop extension seg;
 <waiting ...>
step s1-commit: 
 COMMIT;

step s2-drop-extension: <... completed>
step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(7 rows)

extname|extversion|nspname
---------------------------------------------------------------------
(0 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,"")
(localhost,57638,t,"")
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,"")
(localhost,57638,t,"")
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,"")
(localhost,57638,t,"")
(2 rows)

master_remove_node
---------------------------------------------------------------------


(2 rows)


starting permutation: s1-add-node-1 s1-create-extension-with-schema2 s1-begin s1-remove-node-1 s2-alter-extension-set-schema3 s1-commit s1-print
step s1-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s1-create-extension-with-schema2:
 CREATE extension seg with version "1.3" schema schema2;

step s1-begin:
 BEGIN;

step s1-remove-node-1:
 SELECT 1 FROM master_remove_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-alter-extension-set-schema3:
 alter extension seg set schema schema3;
 <waiting ...>
step s1-commit: 
 COMMIT;

step s2-alter-extension-set-schema3: <... completed>
step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(extension,{seg},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(8 rows)

extname|extversion|nspname
---------------------------------------------------------------------
seg    |       1.3|schema3
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,seg)
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,1.3)
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,schema3)
(1 row)

master_remove_node
---------------------------------------------------------------------

(1 row)


starting permutation: s1-add-node-1 s2-drop-extension s1-begin s1-remove-node-1 s2-create-extension-with-schema1 s1-commit s1-print
step s1-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-drop-extension:
 drop extension seg;

step s1-begin:
 BEGIN;

step s1-remove-node-1:
 SELECT 1 FROM master_remove_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-create-extension-with-schema1:
 CREATE extension seg with version "1.3" schema schema1;
 <waiting ...>
step s1-commit: 
 COMMIT;

step s2-create-extension-with-schema1: <... completed>
step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(extension,{seg},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(8 rows)

extname|extversion|nspname
---------------------------------------------------------------------
seg    |       1.3|schema1
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,seg)
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,1.3)
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,schema1)
(1 row)

master_remove_node
---------------------------------------------------------------------

(1 row)


starting permutation: s2-add-node-1 s2-drop-extension s2-remove-node-1 s2-begin s2-create-extension-version-11 s1-add-node-1 s2-commit s1-print
step s2-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-drop-extension:
 drop extension seg;

step s2-remove-node-1:
 SELECT 1 FROM master_remove_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-begin:
 BEGIN;

step s2-create-extension-version-11:
 CREATE extension seg VERSION "1.1";

step s1-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);
 <waiting ...>
step s2-commit: 
 COMMIT;

step s1-add-node-1: <... completed>
?column?
---------------------------------------------------------------------
       1
(1 row)

step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(extension,{seg},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(8 rows)

extname|extversion|nspname
---------------------------------------------------------------------
seg    |       1.1|public
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,seg)
(localhost,57638,t,seg)
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,1.1)
(localhost,57638,t,1.1)
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,public)
(localhost,57638,t,public)
(2 rows)

master_remove_node
---------------------------------------------------------------------


(2 rows)


starting permutation: s2-drop-extension s2-add-node-1 s2-create-extension-version-11 s2-remove-node-1 s2-begin s2-alter-extension-update-to-version-12 s1-add-node-1 s2-commit s1-print
step s2-drop-extension:
 drop extension seg;

step s2-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-create-extension-version-11:
 CREATE extension seg VERSION "1.1";

step s2-remove-node-1:
 SELECT 1 FROM master_remove_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-begin:
 BEGIN;

step s2-alter-extension-update-to-version-12:
 ALTER extension seg update to "1.2";

step s1-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);
 <waiting ...>
step s2-commit: 
 COMMIT;

step s1-add-node-1: <... completed>
?column?
---------------------------------------------------------------------
       1
(1 row)

step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(extension,{seg},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(8 rows)

extname|extversion|nspname
---------------------------------------------------------------------
seg    |       1.2|public
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,seg)
(localhost,57638,t,seg)
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,1.1)
(localhost,57638,t,1.2)
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,public)
(localhost,57638,t,public)
(2 rows)

master_remove_node
---------------------------------------------------------------------


(2 rows)


starting permutation: s2-add-node-1 s2-begin s2-drop-extension s1-remove-node-1 s2-commit s1-print
step s2-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-begin:
 BEGIN;

step s2-drop-extension:
 drop extension seg;

step s1-remove-node-1:
 SELECT 1 FROM master_remove_node('localhost', 57637);
 <waiting ...>
step s2-commit: 
 COMMIT;

step s1-remove-node-1: <... completed>
?column?
---------------------------------------------------------------------
       1
(1 row)

step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(7 rows)

extname|extversion|nspname
---------------------------------------------------------------------
(0 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,"")
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,"")
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,"")
(1 row)

master_remove_node
---------------------------------------------------------------------

(1 row)


starting permutation: s2-begin s2-create-extension-with-schema1 s1-add-node-1 s2-commit s1-print
step s2-begin:
 BEGIN;

step s2-create-extension-with-schema1:
 CREATE extension seg with version "1.3" schema schema1;

step s1-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);
 <waiting ...>
step s2-commit: 
 COMMIT;

step s1-add-node-1: <... completed>
?column?
---------------------------------------------------------------------
       1
(1 row)

step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(extension,{seg},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(8 rows)

extname|extversion|nspname
---------------------------------------------------------------------
seg    |       1.3|schema1
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,seg)
(localhost,57638,t,seg)
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,1.3)
(localhost,57638,t,1.3)
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,schema1)
(localhost,57638,t,schema1)
(2 rows)

master_remove_node
---------------------------------------------------------------------


(2 rows)


starting permutation: s2-drop-extension s2-add-node-1 s2-create-extension-with-schema2 s2-begin s2-alter-extension-version-13 s1-remove-node-1 s2-commit s1-print
step s2-drop-extension:
 drop extension seg;

step s2-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-create-extension-with-schema2:
 CREATE extension seg with version "1.3" schema schema2;

step s2-begin:
 BEGIN;

step s2-alter-extension-version-13:
 ALTER extension seg update to "1.3";

step s1-remove-node-1:
 SELECT 1 FROM master_remove_node('localhost', 57637);
 <waiting ...>
step s2-commit: 
 COMMIT;

step s1-remove-node-1: <... completed>
?column?
---------------------------------------------------------------------
       1
(1 row)

step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(extension,{seg},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(8 rows)

extname|extversion|nspname
---------------------------------------------------------------------
seg    |       1.3|schema2
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,seg)
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,1.3)
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,schema2)
(1 row)

master_remove_node
---------------------------------------------------------------------

(1 row)


starting permutation: s2-drop-extension s2-add-node-1 s2-begin s2-create-extension-version-11 s1-remove-node-1 s2-commit s1-print
step s2-drop-extension:
 drop extension seg;

step s2-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-begin:
 BEGIN;

step s2-create-extension-version-11:
 CREATE extension seg VERSION "1.1";

step s1-remove-node-1:
 SELECT 1 FROM master_remove_node('localhost', 57637);
 <waiting ...>
step s2-commit: 
 COMMIT;

step s1-remove-node-1: <... completed>
?column?
---------------------------------------------------------------------
       1
(1 row)

step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(extension,{seg},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(8 rows)

extname|extversion|nspname
---------------------------------------------------------------------
seg    |       1.1|public
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,seg)
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,1.1)
(1 row)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57638,t,public)
(1 row)

master_remove_node
---------------------------------------------------------------------

(1 row)


starting permutation: s2-drop-extension s2-add-node-1 s2-create-extension-version-11 s2-remove-node-1 s2-begin s2-drop-extension s1-add-node-1 s2-commit s1-print s1-cleanup-node-1
step s2-drop-extension:
 drop extension seg;

step s2-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-create-extension-version-11:
 CREATE extension seg VERSION "1.1";

step s2-remove-node-1:
 SELECT 1 FROM master_remove_node('localhost', 57637);

?column?
---------------------------------------------------------------------
       1
(1 row)

step s2-begin:
 BEGIN;

step s2-drop-extension:
 drop extension seg;

step s1-add-node-1:
 SELECT 1 FROM master_add_node('localhost', 57637);
 <waiting ...>
step s2-commit: 
 COMMIT;

step s1-add-node-1: <... completed>
?column?
---------------------------------------------------------------------
       1
(1 row)

step s1-print:
 select pg_identify_object_as_address(classid, objid, objsubid)::text as obj_repr from pg_dist_object order by obj_repr;
 select extname, extversion, nspname from pg_extension, pg_namespace where pg_namespace.oid=pg_extension.extnamespace and extname='seg';
 SELECT run_command_on_workers($$select extname from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select extversion from pg_extension where extname='seg'$$);
 SELECT run_command_on_workers($$select nspname from pg_extension, pg_namespace where extname='seg' and pg_extension.extnamespace=pg_namespace.oid$$);

obj_repr
---------------------------------------------------------------------
(database,{regression},{})
(function,"{public,wait_until_metadata_sync}",{integer})
(role,{postgres},{})
(schema,{public},{})
(schema,{schema1},{})
(schema,{schema2},{})
(schema,{schema3},{})
(7 rows)

extname|extversion|nspname
---------------------------------------------------------------------
(0 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,seg)
(localhost,57638,t,"")
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,1.3)
(localhost,57638,t,"")
(2 rows)

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,schema1)
(localhost,57638,t,"")
(2 rows)

step s1-cleanup-node-1:
    SELECT run_command_on_workers($$drop extension if exists seg$$);

run_command_on_workers
---------------------------------------------------------------------
(localhost,57637,t,"DROP EXTENSION")
(localhost,57638,t,"DROP EXTENSION")
(2 rows)

master_remove_node
---------------------------------------------------------------------


(2 rows)

