Error Code Portal
PostgreSQLPostgreSQLError code

P0004

assert failure

Alternative forms: assert_failure

Code P0004 · An issue reported by PostgreSQL.

assert_failure (Class P0 — PL/pgSQL Error)

Troubleshooting and diagnostic links

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