{
  "schema": 1,
  "sqlstate": "HV00J",
  "condition_name": "fdw_option_name_not_found",
  "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.dblink.18.6",
      "kind": "upstream_source",
      "source_role": "contrib_client_implementation",
      "tag": "REL_18_6",
      "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
      "path": "contrib/dblink/dblink.c",
      "sha256": "e4cfaec3a0a1e5d23fded584725e0f6cf7a17321ad99e5fe046e8b7f97416f15",
      "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/contrib/dblink/dblink.c"
    },
    {
      "id": "src.dblink.9.6.24",
      "kind": "upstream_source",
      "source_role": "historical_wrapper_source",
      "tag": "REL9_6_24",
      "commit": "a4116b8d5a4f68803452d8f1aa3f74f302049a90",
      "path": "contrib/dblink/dblink.c",
      "sha256": "ff331aac2153e21aa88cc6c4e656ab00b0593744062270849f27281434db3b55",
      "url": "https://github.com/postgres/postgres/blob/a4116b8d5a4f68803452d8f1aa3f74f302049a90/contrib/dblink/dblink.c#L2017-L2021"
    },
    {
      "id": "src.calls.REL_18_6",
      "kind": "local_artifact",
      "source_role": "source_call_scan",
      "sha256": "9ee8a0e81d8f0825c5c1ae45583439859a26e602bdd4ce2f2a62aa278867ccbf"
    }
  ],
  "claims": [
    {
      "id": "identity",
      "statement": "HV00J is fdw_option_name_not_found in SQL/MED Class HV.",
      "sources": [
        "src.errcodes.18.6"
      ],
      "method": "Read the fixed definition row and macro."
    },
    {
      "id": "dblink-option",
      "statement": "dblink uses HV00J in its own connection-option parser; dblink is a separate contrib client API rather than an FDW callback implementation.",
      "sources": [
        "src.dblink.18.6"
      ],
      "method": "Read the fixed option-validation branch."
    },
    {
      "id": "historical-hint-boundary",
      "statement": "The fixed REL9_6_24 dblink option parser uses the older dynamic hint 'Valid options in this context are: %s' with the same invalid-option ERROR; this is a bounded snapshot comparison, not an exact transition release.",
      "sources": [
        "src.dblink.9.6.24"
      ],
      "method": "Read the fixed REL9_6_24 dblink.c error branch at lines 2017-2021.",
      "limits": "This fixed snapshot establishes dblink's wording there; it does not date the transition or generalize to other clients."
    }
  ],
  "messages": [
    {
      "id": "dblink-invalid-option",
      "sqlstate": "HV00J",
      "severity": "ERROR",
      "source_ids": [
        "src.dblink.18.6"
      ],
      "path": "contrib/dblink/dblink.c:2005-2011",
      "message": "invalid option \"%s\"",
      "hint_variants": [
        "Perhaps you meant the option \"%s\".",
        "There are no valid options in this context."
      ],
      "limits": "When valid options exist but no close match is found, the source emits no hint; the no-valid-options hint is only used when no valid option exists."
    },
    {
      "id": "dblink-invalid-option-historical-hint",
      "sqlstate": "HV00J",
      "severity": "ERROR",
      "source_ids": [
        "src.dblink.9.6.24"
      ],
      "path": "contrib/dblink/dblink.c:2017-2021",
      "message": "invalid option \"%s\"",
      "hint_variants": [
        "Valid options in this context are: %s"
      ]
    }
  ],
  "usage_evidence": [
    {
      "scope": "confirmed-source-path",
      "status": "source_path_confirmed",
      "evidence_ids": [
        "dblink-option",
        "dblink-invalid-option"
      ]
    },
    {
      "scope": "natural-runtime",
      "status": "unknown",
      "evidence_ids": [
        "dblink-option"
      ]
    }
  ],
  "runtime": []
}
