Error Code Portal
PostgreSQLPostgreSQLError code

23001

restrict violation

Alternative forms: restrict_violation

Code 23001 · An issue reported by PostgreSQL.

restrict_violation (Class 23 — Integrity Constraint Violation)

Troubleshooting and diagnostic links

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