选择 打开 改范围 完整检索页

pgsql.cc 提供对 postgresql.org 官网内容的中文翻译,由 Pigsty 团队维护。

百科 / 错误代码 / Class HV 外部数据包装器错误

HV00R fdw_table_not_found

ERROR 仅定义 参考 未实测

类别
Class HV 外部数据包装器错误
严重等级
ERROR
条件名
fdw_table_not_found
宏名称
ERRCODE_FDW_TABLE_NOT_FOUND
启用版本
9.1
状态
活跃

版本覆盖

速览

HV00R 表示 FDW 类别中的表未找到条件。锁定的 PostgreSQL 18.6 核心与 contrib 调用扫描没有解析出 HV00R 报告组,因此不能据此指定核心发射点、远端目录或消息模板。

含义

该条件名指向 FDW 操作无法满足的一次表查找。表可能是远端对象、包装器侧映射或其他实现管理的名称;SQLSTATE 定义本身无法在它们之间作出选择。

消息与诊断

没有解析出 18.6 核心与 contrib 的直接 HV00R 消息变体。解释前应保留完整诊断、包装器和驱动版本、外部服务器与表身份、操作阶段,以及远端返回的消息。

诊断

定位已安装包装器的表查找函数及其 SQLSTATE 映射。检查确切的外部表或远端关系名、数据库/模式上下文、映射用户,以及错误发生在规划、执行还是元数据发现阶段。不要把每个零行查询都理解为此条件。

处理

修正包装器诊断所指向的表或映射,或改用操作实际指定的远端对象和服务器。如果无法确定此前写操作是否完成,应先检查远端状态再重做;无关的 FDW 选项变化不能解释此条件。

版本

HV00R 在锁定定义快照 9.1.24 至 18.6 以及 19 Beta 3 中存在,known_present_by 为 9.1.0。现有 9.1 之前定义资料不足以确定精确引入版本。

来源

证据

断言

每条断言都写明了是怎么核实的,以及它不覆盖什么。这一层是核验时留下的原始英文记录,照原样呈现,未经翻译。

  • HV00R is fdw_table_not_found in SQL/MED Class HV.

    核实方式Read the fixed errcodes definition row and macro.

    来源src/backend/utils/errcodes.txt

  • The condition name identifies an FDW table-not-found state, but the fixed scan does not identify whether the table name is remote, mapped, or wrapper-owned.

    核实方式Read the fixed FDW callback signatures and FdwRoutine structure.

    不覆盖Generic API context is background only and does not prove an emitting path for this SQLSTATE.

    来源src/include/foreign/fdwapi.h

  • No resolved HV00R report group was found in the locked PostgreSQL 18.6 core/contrib call scan.

    核实方式Compare resolved report groups with the fixed macro mapping.

    不覆盖This scan does not cover external wrappers, drivers, remote systems, or user callbacks; absence from the scan is not an absolute absence claim.

    来源raw/calls/REL_18_6.jsonl · src/backend/utils/errcodes.txt

  • The locked release definition snapshots establish presence from the known 9.1.0 boundary; the available pre-9 material does not establish an exact introduction release.

    核实方式Compare the canonical release-definition facts with the available pre-9 source boundary.

    不覆盖Definition presence does not prove runtime use.

    来源src/backend/utils/errcodes.txt

同类错误代码

Class HV 外部数据包装器错误 下的其他成员。