pub fn state_key(slot_name: &str) -> StringExpand description
Generate the state_key for a given replication slot.
Allowed characters per faucet_core::state::validate_state_key are
[A-Za-z0-9_:.-]. Postgres slot names are constrained to [a-z0-9_], so
every key is valid by construction.