Error Code Portal
PostgreSQLPostgreSQLError code

42601

syntax error

Alternative forms: syntax_error

Code 42601 · An issue reported by PostgreSQL.

syntax_error (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.