Error Code Portal
PostgreSQLPostgreSQLError code

42P12

invalid database definition

Alternative forms: invalid_database_definition

Code 42P12 · An issue reported by PostgreSQL.

invalid_database_definition (Class 42 — Syntax Error or Access Rule Violation)

Troubleshooting and diagnostic links

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