Error Code Portal
PostgreSQLPostgreSQLError code

38001

containing sql not permitted

Alternative forms: containing_sql_not_permitted

Code 38001 · An issue reported by PostgreSQL.

containing_sql_not_permitted (Class 38 — External Routine Exception)

Troubleshooting and diagnostic links

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