{
  "schema": 1,
  "sqlstate": "HV021",
  "condition_name": "fdw_inconsistent_descriptor_information",
  "sources": [
    {
      "id": "src.errcodes.18.6",
      "kind": "upstream_source",
      "source_role": "condition_definition",
      "tag": "REL_18_6",
      "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
      "path": "src/backend/utils/errcodes.txt",
      "sha256": "6e8de346643ba84aa3c9c6a73360acfc7b2dfb89162c06c08ce9bf5bcd5bbcba",
      "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/errcodes.txt"
    },
    {
      "id": "src.fdwapi.18.6",
      "kind": "upstream_source",
      "source_role": "fdw_callback_api",
      "tag": "REL_18_6",
      "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
      "path": "src/include/foreign/fdwapi.h",
      "sha256": "572ba892e6435ca92d3b3bc84dde5bbd3160cc3a082693daab8daa835c4d2cd7",
      "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/include/foreign/fdwapi.h"
    },
    {
      "id": "src.calls.REL_18_6",
      "kind": "local_artifact",
      "source_role": "source_call_scan",
      "sha256": "9ee8a0e81d8f0825c5c1ae45583439859a26e602bdd4ce2f2a62aa278867ccbf"
    }
  ],
  "claims": [
    {
      "id": "identity",
      "statement": "HV021 is fdw_inconsistent_descriptor_information in SQL/MED Class HV.",
      "sources": [
        "src.errcodes.18.6"
      ],
      "method": "Read the fixed errcodes definition row and macro."
    },
    {
      "id": "api-boundary",
      "statement": "The condition name identifies inconsistent descriptor information at an FDW boundary. The descriptor fields and producer/consumer contract remain implementation-specific.",
      "sources": [
        "src.fdwapi.18.6"
      ],
      "method": "Read the fixed FDW callback signatures and FdwRoutine structure.",
      "limits": "Generic API context is background only and does not prove an emitting path for this SQLSTATE."
    },
    {
      "id": "scan-boundary",
      "statement": "No resolved HV021 report group was found in the locked PostgreSQL 18.6 core/contrib call scan.",
      "sources": [
        "src.calls.REL_18_6",
        "src.errcodes.18.6"
      ],
      "method": "Compare resolved report groups with the fixed macro mapping.",
      "limits": "This scan does not cover external wrappers, drivers, remote systems, or user callbacks; absence from the scan is not an absolute absence claim."
    },
    {
      "id": "history-boundary",
      "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"
      ],
      "method": "Compare the canonical release-definition facts with the available pre-9 source boundary.",
      "limits": "Definition presence does not prove runtime use."
    }
  ],
  "messages": [],
  "usage_evidence": [
    {
      "scope": "definition-and-api",
      "status": "definition_only",
      "evidence_ids": [
        "identity",
        "api-boundary"
      ]
    },
    {
      "scope": "resolved-call-scan",
      "status": "definition_only",
      "evidence_ids": [
        "scan-boundary"
      ]
    },
    {
      "scope": "pre9-history",
      "status": "unknown",
      "evidence_ids": [
        "history-boundary"
      ]
    },
    {
      "scope": "natural-runtime",
      "status": "unknown",
      "evidence_ids": [
        "scan-boundary"
      ]
    }
  ],
  "runtime": []
}
