Error code

PostgreSQL 22003

POSTGRESQL22003
Database Error Code· An error code returned by a database server such as PostgreSQL or MySQL.

What it means

numeric_value_out_of_range — a number exceeds the column's storage range.

How to fix it

  1. Widen the column type with ALTER TABLE to use INTEGER or BIGINT.
  2. Validate numeric bounds in application code before writing to the database.
  3. Check for accidental unit mismatches that produce unexpectedly large values.

Not affiliated with PostgreSQL. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.