pub async fn max_seq(pool: &PgPool) -> Result<Option<i64>>Expand description
Read the largest seq currently in the log, or None if it is empty.
Used at startup to initialize the listener’s high-water mark so the first reconnect does not replay the entire log.