pub async fn drop_slot(
connection_url: &str,
slot_name: &str,
) -> Result<(), FaucetError>Available on crate features
source-postgres-cdc and source-rest only.Expand description
Drop a logical replication slot via a control-plane SQL call
(pg_drop_replication_slot). A missing slot is treated as success (no-op);
an active slot (currently in use by another connection) surfaces an error.