1SET search_path TO upgrade_distributed_function_before, public; 2 3-- make sure that the metadata synced 4SELECT bool_and(metadatasynced) FROM pg_dist_node WHERE isactive AND noderole = 'primary'; 5SET client_min_messages TO DEBUG1; 6 7-- these are simple select functions, so doesn't have any 8-- side effects, safe to be called without BEGIN;..;ROLLBACK; 9SELECT count_values(11); 10SELECT count_values(12); 11 12