Skip to main content

PG_SERIALIZATION_FAILURE_CODE

Constant PG_SERIALIZATION_FAILURE_CODE 

Source
const PG_SERIALIZATION_FAILURE_CODE: &str = "40001";
Expand description

PostgreSQL error code for serialization failures under SERIALIZABLE isolation. Transactions that fail with this code are safe to retry from scratch.