Glossary: PostgreSQL Beyond the Basics
Serialization failure
Also written: could not serialize access, 40001
The error (SQLSTATE 40001) raised under repeatable read or serializable when a transaction can't safely continue. It means "try again": roll back and redo the whole transaction.