Error Code Portal
PostgreSQLPostgreSQLError code

39001

invalid sqlstate returned

Alternative forms: invalid_sqlstate_returned

Code 39001 · An issue reported by PostgreSQL.

invalid_sqlstate_returned (Class 39 — External Routine Invocation Exception)

Troubleshooting and diagnostic links

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