

-- citus--14.1-1--14.0-1
-- downgrade version to 14.0-1

DROP FUNCTION IF EXISTS citus_internal.get_next_colocation_id();

DROP FUNCTION IF EXISTS citus_internal.adjust_identity_column_seq_settings(regclass, bigint, boolean);
DROP FUNCTION IF EXISTS pg_catalog.worker_apply_sequence_command(text, regtype, bigint, boolean);

DROP FUNCTION IF EXISTS citus_internal.lock_colocation_id(int, int);

DROP FUNCTION IF EXISTS citus_internal.acquire_placement_colocation_lock(bigint, int);

-- cluster changes block UDFs
DROP FUNCTION IF EXISTS pg_catalog.citus_cluster_changes_block(int);
DROP FUNCTION IF EXISTS pg_catalog.citus_cluster_changes_unblock();
DROP FUNCTION IF EXISTS pg_catalog.citus_cluster_changes_block_status();
