Error Code Portal
PostgreSQLPostgreSQLError code

40P01

deadlock detected

Alternative forms: deadlock_detected

Code 40P01 · An issue reported by PostgreSQL.

deadlock_detected (Class 40 — Transaction Rollback)

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.