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

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

Wiki / SQLSTATE

HV00M — fdw_unable_to_create_reply

包装器无法创建存放结果的回复对象。

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

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

aliases
未知
class name
Foreign Data Wrapper Error (SQL/MED)
condition name
fdw_unable_to_create_reply
lang
en
sqlstate
HV00M

版本定义 PG 18

HV00M — fdw_unable_to_create_reply

速览 {#at-a-glance}

HV00M 表示 FDW 无法建立用于保存返回结果的回复对象。已检查的 PostgreSQL 18.6 核心与 contrib 调用没有解析出直接的 HV00M 报告组,因此不能从条件名推断是内存、连接还是协议失败。

含义 {#meaning}

回复对象可能承载结果集、远端消息或异步请求状态。该类别定义没有规定对象布局、分配时机,也没有把它限定为某一个 FDW 或驱动。

消息与诊断 {#messages}

没有解析出直接的 18.6 核心或 contrib 消息。记录操作类型、回复创建阶段、相关连接或执行句柄、外部服务器和表,以及完整 detail 和 hint。

诊断 {#diagnosis}

检查包装器创建回复对象前后的资源分配、连接状态和错误清理。确认失败发生在本地结果对象创建,而不是远端返回了应用错误;同时核对包装器与服务器的 ABI。

处理 {#response}

按包装器 API 修复回复对象的分配和所有权管理。只有在证据明确指向扩展二进制或 ABI 不匹配时才调整版本;如果请求是否完成不明,应先查看远端状态再决定是否重做。

版本 {#versions}

HV00M 从 9.1.0 到 18.6 以及 19 Beta 3 均存在。可用的 9.1 之前定义扫描没有观察到它;这是历史资料边界。

相关 {#related}

HV00L 涉及创建执行对象;HV00K 涉及回复句柄;HV00B 是一般无效句柄。

来源 {#sources}

  • errcodes.txt — 定义,SHA-256 6e8de346643ba84aa3c9c6a73360acfc7b2dfb89162c06c08ce9bf5bcd5bbcba。
  • fdwapi.h — 通用回调接口边界。
  • 结构化证据 — 有界源码扫描。

比较版本

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

claims · identity
{
  "claim_id": "identity",
  "limits": "",
  "method": "Read the fixed definition row and macro.",
  "position": 0,
  "runtime": [],
  "sources": [
    "src.errcodes.18.6"
  ],
  "statement": "HV00M is fdw_unable_to_create_reply in SQL/MED Class HV."
}
claims · scan-boundary
{
  "claim_id": "scan-boundary",
  "limits": "The generic FDW API boundary does not identify an emitter for this SQLSTATE. The scan does not cover external wrappers, drivers, remote systems, or user callbacks.",
  "method": "Compare resolved report groups with the macro mapping.",
  "position": 1,
  "runtime": [],
  "sources": [
    "src.calls.REL_18_6",
    "src.fdwapi.18.6"
  ],
  "statement": "No direct HV00M report group was resolved in the locked PostgreSQL 18.6 core/contrib call scan."
}
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"
}
sources · src.fdwapi.18.6
{
  "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
  "docs_url": "",
  "kind": "upstream_source",
  "location": "",
  "path": "src/include/foreign/fdwapi.h",
  "position": 1,
  "sha256": "572ba892e6435ca92d3b3bc84dde5bbd3160cc3a082693daab8daa835c4d2cd7",
  "source_id": "src.fdwapi.18.6",
  "tag": "REL_18_6",
  "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/include/foreign/fdwapi.h"
}
sources · src.calls.REL_18_6
{
  "commit": "",
  "docs_url": "",
  "kind": "local_artifact",
  "location": "",
  "path": "raw/calls/REL_18_6.jsonl",
  "position": 2,
  "sha256": "9ee8a0e81d8f0825c5c1ae45583439859a26e602bdd4ce2f2a62aa278867ccbf",
  "source_id": "src.calls.REL_18_6",
  "tag": "",
  "url": ""
}

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · english-manuals:819ca06e5176419d4e66b51ef23d9c65525a083a7535fca787be42778b2d8f3d

正文语言: zh-Hans · english-manuals:819ca06e5176419d4e66b51ef23d9c65525a083a7535fca787be42778b2d8f3d