↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

Wiki / SQLSTATE

22022 — indicator_overflow

指示变量容纳不下接口返回的结果。

英文手册覆盖始于 PostgreSQL 8.1. 来源历史与运行验证各自保留独立版本边界。

当前阅读 PG 18·选择有来源记录的版本

aliases
未知
class name
Data Exception
condition name
indicator_overflow
lang
en
sqlstate
22022

版本定义 PG 18

22022

速览 {#at-a-glance}

目录条件名表示指示变量无法容纳接口结果。有限的 PostgreSQL 18.6 源码审阅确认了定义,但没有绑定到原生发出该报文的 report group。

含义 {#meaning}

22022 是接口层的 indicator overflow 条件,但本次固定源码范围没有确定哪个客户端或 API 发出它。不能仅凭条件名虚构 ECPG、普通 SQL cast 或服务器列路径。

诊断 {#diagnosis}

结合完整诊断和所属接口,确认指示变量类型、存储宽度和值域。由于没有确认的 emitter,本页不能给出首要报文、严重性行为、事务影响或统一的服务器端修复。

处理 {#response}

检查实际接口约束,使用能够容纳返回值的指示变量表示,并遵循该接口的恢复方式。将本页视为有界未知源码覆盖,不要直接套用一般数值溢出修复。

版本 {#versions}

锁定目录从 7.4 起记录该条件;当前只确认 PostgreSQL 18.6 的定义和有限源码范围。未声称本页有自然运行观察。

相关 {#related}

22003、22010

来源 {#sources}

固定目录定义记录在结构化证据记录中。有限扫描有意保留原生 emitter、首要文本、严重性和事务行为未知;本页未运行自然案例。

比较版本

SQLSTATE 证据与已记录的运行版本

claims · identity
{
  "claim_id": "identity",
  "limits": "",
  "method": "Read the fixed errcodes row and macro.",
  "position": 0,
  "runtime": [],
  "sources": [
    "src.errcodes.18.6"
  ],
  "statement": "22022 is indicator_overflow in SQLSTATE Class 22."
}
claims · bounded-scan
{
  "claim_id": "bounded-scan",
  "limits": "A bounded scan does not prove that no extension, client, or historical path exists.",
  "method": "Retain definition evidence without inventing an ECPG, SQL cast, or server-column emitter.",
  "position": 1,
  "runtime": [],
  "sources": [
    "src.errcodes.18.6"
  ],
  "statement": "No fixed PostgreSQL 18.6 emitting report group was resolved for 22022 in the bounded source review."
}
claims · history
{
  "claim_id": "history",
  "limits": "",
  "method": "Use catalogue presence and history boundaries.",
  "position": 2,
  "runtime": [],
  "sources": [
    "src.errcodes.18.6"
  ],
  "statement": "The locked catalogue records 22022 from 7.4 without proving an exact implementation introduction date."
}
sources · src.errcodes.18.6
{
  "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
  "docs_url": "",
  "kind": "upstream_source",
  "location": "",
  "path": "src/backend/utils/errcodes.txt",
  "position": 0,
  "sha256": "6e8de346643ba84aa3c9c6a73360acfc7b2dfb89162c06c08ce9bf5bcd5bbcba",
  "source_id": "src.errcodes.18.6",
  "tag": "REL_18_6",
  "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/errcodes.txt#L171"
}

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · english-manuals:fed44a55cfb2240be04a13379ee83a230a7ae946008d982397e2bdd435e5be67

正文语言: zh-Hans · english-manuals:fed44a55cfb2240be04a13379ee83a230a7ae946008d982397e2bdd435e5be67