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

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

Wiki / SQLSTATE

HV00R — fdw_table_not_found

包装器在外部数据源中找不到请求的表。

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

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

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

版本定义 PG 18

HV00R — fdw_table_not_found

速览 {#at-a-glance}

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

含义 {#meaning}

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

消息与诊断 {#messages}

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

诊断 {#diagnosis}

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

处理 {#response}

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

版本 {#versions}

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

相关 {#related}

HV021 涉及描述符信息不一致;HV010 涉及 FDW 函数顺序;HV00Q 是具体的 postgres_fdw 远端模式条件。

来源 {#sources}

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

比较版本

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

claims · identity
{
  "claim_id": "identity",
  "limits": "",
  "method": "Read the fixed errcodes definition row and macro.",
  "position": 0,
  "runtime": [],
  "sources": [
    "src.errcodes.18.6"
  ],
  "statement": "HV00R is fdw_table_not_found in SQL/MED Class HV."
}
claims · api-boundary
{
  "claim_id": "api-boundary",
  "limits": "Generic API context is background only and does not prove an emitting path for this SQLSTATE.",
  "method": "Read the fixed FDW callback signatures and FdwRoutine structure.",
  "position": 1,
  "runtime": [],
  "sources": [
    "src.fdwapi.18.6"
  ],
  "statement": "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."
}
claims · scan-boundary
{
  "claim_id": "scan-boundary",
  "limits": "This scan does not cover external wrappers, drivers, remote systems, or user callbacks; absence from the scan is not an absolute absence claim.",
  "method": "Compare resolved report groups with the fixed macro mapping.",
  "position": 2,
  "runtime": [],
  "sources": [
    "src.calls.REL_18_6",
    "src.errcodes.18.6"
  ],
  "statement": "No resolved HV00R report group was found in the locked PostgreSQL 18.6 core/contrib call scan."
}
claims · history-boundary
{
  "claim_id": "history-boundary",
  "limits": "Definition presence does not prove runtime use.",
  "method": "Compare the canonical release-definition facts with the available pre-9 source boundary.",
  "position": 3,
  "runtime": [],
  "sources": [
    "src.errcodes.18.6"
  ],
  "statement": "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."
}
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:7319b060f22fd6f6a15dc67e1f23a682a5296fca649686532637916be2bc047e

正文语言: zh-Hans · english-manuals:7319b060f22fd6f6a15dc67e1f23a682a5296fca649686532637916be2bc047e