fn retry_hint_from_postgres_sql_state(state: Option<&SqlState>) -> RetryHint
Converts a Postgres SQLSTATE into a conservative retry hint.