02001 — no_additional_dynamic_result_sets_returned
没有更多动态结果集可返回。
英文手册覆盖始于 PostgreSQL 8.1. 来源历史与运行验证各自保留独立版本边界。
当前阅读 PG 18·选择有来源记录的版本
- aliases
- 未知
- class name
- No Data (this is also a warning class per the SQL standard)
- condition name
- no_additional_dynamic_result_sets_returned
- lang
- en
- sqlstate
- 02001
版本定义 PG 18
02001 — no_additional_dynamic_result_sets_returned
速览 {#at-a-glance}
02001 是关于额外动态结果集的无数据类条件,不是普通查询无行。没有解析出 18.6 核心与 contrib 报告组。
含义 {#meaning}
定义名称表示额外动态结果集已经耗尽,但固定源码扫描没有确认实现路径。
消息与诊断 {#messages}
没有解析出 18.6 消息变体。应保留产生它的过程/接口、结果集位置、客户端 API 和完整诊断。
诊断 {#diagnosis}
定位产生该代码的动态结果集契约,并确认调用方是否确实请求了下一个结果集。不要用普通行数检查或 PL/pgSQL NO_DATA_FOUND 处理替代它。
处理 {#response}
按实际接口处理结果集序列结束,或修正调用方期待的数量。不变的事务重试不会产生另一个结果集。
版本 {#versions}
02001 在锁定目录 9.0.23 至 18.6 以及 19 Beta 3 中存在,known_present_by 为 7.4。对固定 18.6 扫描而言,这只是定义证据。
相关 {#related}
0100C 涉及动态结果集返回;P0002 是 PL/pgSQL no-data-found;02000 是一般无数据条件。
来源 {#sources}
errcodes.txt— 定义,SHA-2566e8de346643ba84aa3c9c6a73360acfc7b2dfb89162c06c08ce9bf5bcd5bbcba.- 结构化证据 — 固定来源、消息和运行边界。
比较版本
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": "02001 is no_additional_dynamic_result_sets_returned in SQLSTATE Class 02."
}claims · scan-boundary
{
"claim_id": "scan-boundary",
"limits": "This scan does not cover external clients, drivers, extensions, remote systems, or other implementations; absence from the scan is not an absolute absence claim.",
"method": "Compare resolved report groups with the fixed macro mapping.",
"position": 1,
"runtime": [],
"sources": [
"src.calls.REL_18_6",
"src.errcodes.18.6"
],
"statement": "No resolved 02001 report group was found in the locked PostgreSQL 18.6 core/contrib call scan."
}claims · history-boundary
{
"claim_id": "history-boundary",
"limits": "Definition presence is not an emitting-path observation.",
"method": "Compare the canonical release-definition facts with the available history boundary.",
"position": 2,
"runtime": [],
"sources": [
"src.errcodes.18.6"
],
"statement": "The locked release definitions establish catalogue presence, not a precise introducing release or runtime use."
}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.calls.REL_18_6
{
"commit": "",
"docs_url": "",
"kind": "local_artifact",
"location": "",
"path": "raw/calls/REL_18_6.jsonl",
"position": 1,
"sha256": "9ee8a0e81d8f0825c5c1ae45583439859a26e602bdd4ce2f2a62aa278867ccbf",
"source_id": "src.calls.REL_18_6",
"tag": "",
"url": ""
}来源引用
定义来源
center · PostgreSQL 18 · english-manuals:ce61c203aa8e7e84ba6b52a9d31be0e7bd12899db900b8b2ca77e4cc71e107df
正文语言: zh-Hans · english-manuals:ce61c203aa8e7e84ba6b52a9d31be0e7bd12899db900b8b2ca77e4cc71e107df