22022 — indicator_overflow
22022
At a glance
The catalogue condition names an indicator value that cannot fit its interface representation. The bounded PostgreSQL 18.6 source review confirms the definition but does not bind a native emitting report group.
| Field | Value |
|---|---|
| SQLSTATE | 22022 |
| Condition | indicator_overflow |
| Status | active |
| Known present by | 7.4 |
| Locked snapshots | 9.0.23, 9.1.24, 9.2.24, 9.3.25, 9.4.26, 9.5.25, 9.6.24, 10.23, 11.22, 12.22, 13.23, 14.24, 15.19, 16.15, 17.11, 18.6, 19beta3 |
| Macros | ERRCODE_INDICATOR_OVERFLOW |
| Aliases | — |
Meaning
22022 is an interface-level indicator-overflow condition, but the fixed source scope here does not identify which client or API owns an emitter. Its condition name must not be turned into an invented ECPG, ordinary SQL cast, or server-column path.
Diagnosis
Use the complete diagnostic and owning interface to determine the indicator type, storage width, and value range. Without a confirmed emitter, this page cannot assign a primary message, severity behavior, transaction effect, or universal server-side repair.
Response
Inspect the actual interface contract and choose an indicator representation that can hold the returned value, following that interface’s documented recovery. Treat this as bounded unknown source coverage rather than applying a generic numeric-overflow fix.
Versions
The locked catalogue records this condition from 7.4; only the PostgreSQL 18.6 definition and bounded source scope are confirmed. No natural runtime observation is claimed for this page.
Related
Sources
The fixed catalogue definition is recorded in the structured evidence record. Its bounded-scan claim deliberately leaves the native emitter, primary text, severity, and transaction behavior unknown; no natural runtime was run.