Skip to main content

retry_hint_from_postgres_sql_state

Function retry_hint_from_postgres_sql_state 

Source
fn retry_hint_from_postgres_sql_state(state: Option<&SqlState>) -> RetryHint
Expand description

Converts a Postgres SQLSTATE into a conservative retry hint.