Skip to main content

state_key

Function state_key 

Source
pub fn state_key(slot_name: &str) -> String
Expand 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.