Error Code Portal
PostgreSQLPostgreSQLError code

22012

division by zero

Alternative forms: division_by_zero

Code 22012 · An issue reported by PostgreSQL.

division_by_zero (Class 22 — Data Exception)

Troubleshooting and diagnostic links

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