Error Code Portal
PostgreSQLPostgreSQLError code

42P17

invalid object definition

Alternative forms: invalid_object_definition

Code 42P17 · An issue reported by PostgreSQL.

invalid_object_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.