pub async fn is_replication_caught_up( client: &Client, subscription_name: Option<&str>, ) -> Result<bool>
Check if replication is caught up (no lag) Returns true if all replication slots have < 1 second of replay lag