{
  "schema": 1,
  "sqlstate": "HV00D",
  "condition_name": "fdw_invalid_option_name",
  "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.file_fdw.18.6",
      "kind": "upstream_source",
      "source_role": "wrapper_implementation",
      "tag": "REL_18_6",
      "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
      "path": "contrib/file_fdw/file_fdw.c",
      "sha256": "d79ec21c08be6a806b0710aab09698678ddb24103d3470702e66ee1523432125",
      "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/contrib/file_fdw/file_fdw.c"
    },
    {
      "id": "src.postgres_fdw.option.18.6",
      "kind": "upstream_source",
      "source_role": "wrapper_implementation",
      "tag": "REL_18_6",
      "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
      "path": "contrib/postgres_fdw/option.c",
      "sha256": "880fd16c3e5cbc56733d1292ffdcc9b0f6cb1e17e72c90e9afa4e359239dc314",
      "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/contrib/postgres_fdw/option.c"
    },
    {
      "id": "src.postgres_fdw.main.18.6",
      "kind": "upstream_source",
      "source_role": "wrapper_implementation",
      "tag": "REL_18_6",
      "commit": "724edf9bde9d356724ad384a2e196edc3c9f80f7",
      "path": "contrib/postgres_fdw/postgres_fdw.c",
      "sha256": "5f61f89fc1f9d67a204c47fd993db575b2d619449e5238b536b9fb1877037db6",
      "url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/contrib/postgres_fdw/postgres_fdw.c"
    },
    {
      "id": "src.file_fdw.9.6.24",
      "kind": "upstream_source",
      "source_role": "historical_wrapper_source",
      "tag": "REL9_6_24",
      "commit": "a4116b8d5a4f68803452d8f1aa3f74f302049a90",
      "path": "contrib/file_fdw/file_fdw.c",
      "sha256": "1745225d449f44e9b384e372e8e13d5f5fe141e53d49526760fc1df8a1bf6211",
      "url": "https://github.com/postgres/postgres/blob/a4116b8d5a4f68803452d8f1aa3f74f302049a90/contrib/file_fdw/file_fdw.c#L240-L246"
    },
    {
      "id": "src.postgres_fdw.option.9.6.24",
      "kind": "upstream_source",
      "source_role": "historical_wrapper_source",
      "tag": "REL9_6_24",
      "commit": "a4116b8d5a4f68803452d8f1aa3f74f302049a90",
      "path": "contrib/postgres_fdw/option.c",
      "sha256": "d7da1cf22cd61619ef2f0cb7ce1a741d4ecb9a03636766e097e2183acdf21d48",
      "url": "https://github.com/postgres/postgres/blob/a4116b8d5a4f68803452d8f1aa3f74f302049a90/contrib/postgres_fdw/option.c#L99-L103"
    },
    {
      "id": "src.calls.REL_18_6",
      "kind": "local_artifact",
      "source_role": "source_call_scan",
      "sha256": "9ee8a0e81d8f0825c5c1ae45583439859a26e602bdd4ce2f2a62aa278867ccbf"
    }
  ],
  "claims": [
    {
      "id": "identity",
      "statement": "HV00D is fdw_invalid_option_name in SQL/MED Class HV.",
      "sources": [
        "src.errcodes.18.6"
      ],
      "method": "Read the fixed definition row and macro."
    },
    {
      "id": "option-validators",
      "statement": "file_fdw and postgres_fdw validate option names in their object-specific contexts; the postgres_fdw import parser uses the same condition for an invalid import option.",
      "sources": [
        "src.file_fdw.18.6",
        "src.postgres_fdw.option.18.6",
        "src.postgres_fdw.main.18.6"
      ],
      "method": "Read each fixed error branch and its option context."
    },
    {
      "id": "historical-hint-boundary",
      "statement": "Fixed REL9_6_24 snapshots of file_fdw and postgres_fdw/option.c use 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.file_fdw.9.6.24",
        "src.postgres_fdw.option.9.6.24"
      ],
      "method": "Read the fixed REL9_6_24 error branches at file_fdw.c:240-246 and postgres_fdw/option.c:99-103.",
      "limits": "The two fixed wrapper snapshots establish their own wording only; they do not date the transition or describe every wrapper."
    }
  ],
  "messages": [
    {
      "id": "hv00d_invalid_option",
      "sqlstate": "HV00D",
      "severity": "ERROR",
      "source_ids": [
        "src.file_fdw.18.6"
      ],
      "path": "contrib/file_fdw/file_fdw.c:247-253",
      "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": "hv00d_postgres_option",
      "sqlstate": "HV00D",
      "severity": "ERROR",
      "source_ids": [
        "src.postgres_fdw.option.18.6"
      ],
      "path": "contrib/postgres_fdw/option.c:110-116",
      "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": "hv00d_import_option",
      "sqlstate": "HV00D",
      "severity": "ERROR",
      "source_ids": [
        "src.postgres_fdw.main.18.6"
      ],
      "path": "contrib/postgres_fdw/postgres_fdw.c:5491-5493",
      "message": "invalid option \"%s\"",
      "limits": "This import-option parser has only the primary message in the fixed 18.6 path; it does not use the validator close-match or no-valid-options hint branches."
    },
    {
      "id": "hv00d_file_fdw_historical_hint",
      "sqlstate": "HV00D",
      "severity": "ERROR",
      "source_ids": [
        "src.file_fdw.9.6.24"
      ],
      "path": "contrib/file_fdw/file_fdw.c:240-246",
      "message": "invalid option \"%s\"",
      "hint_variants": [
        "Valid options in this context are: %s"
      ]
    },
    {
      "id": "hv00d_postgres_option_historical_hint",
      "sqlstate": "HV00D",
      "severity": "ERROR",
      "source_ids": [
        "src.postgres_fdw.option.9.6.24"
      ],
      "path": "contrib/postgres_fdw/option.c:99-103",
      "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": [
        "option-validators",
        "hv00d_invalid_option"
      ]
    },
    {
      "scope": "natural-runtime",
      "status": "unknown",
      "evidence_ids": [
        "option-validators"
      ]
    }
  ],
  "runtime": []
}
