{
  "schema": 1,
  "sqlstate": "25004",
  "condition_name": "inappropriate_isolation_level_for_branch_transaction",
  "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.calls.REL_18_6",
      "kind": "local_artifact",
      "source_role": "source_call_scan",
      "sha256": "9ee8a0e81d8f0825c5c1ae45583439859a26e602bdd4ce2f2a62aa278867ccbf"
    }
  ],
  "claims": [
    {
      "id": "identity",
      "statement": "25004 is inappropriate_isolation_level_for_branch_transaction in Class 25.",
      "sources": [
        "src.errcodes.18.6"
      ],
      "method": "Read the fixed condition row and macro.",
      "limits": "The condition name alone does not identify a supported ordinary-SQL trigger."
    },
    {
      "id": "source-boundary",
      "statement": "The exhaustive resolved PostgreSQL 18.6 call scan contains no direct 25004 report group; no natural SQL reproduction is claimed.",
      "sources": [
        "src.calls.REL_18_6"
      ],
      "method": "Scan fixed source call records for SQLSTATE 25004.",
      "limits": "Do not substitute a different isolation-level error or a hand-written RAISE example."
    }
  ],
  "messages": [],
  "usage_evidence": [
    {
      "scope": "definition-and-call-scan",
      "status": "definition_only",
      "evidence_ids": [
        "identity",
        "source-boundary"
      ]
    }
  ],
  "runtime": [
    {
      "id": "runtime.25004-batch2-latest-20260909.latest",
      "run_id": "25004-batch2-latest-20260909",
      "target": "latest",
      "server_version": "18.6 (Homebrew)",
      "server_version_num": 180006,
      "status": "not_applicable",
      "case_status": "not_applicable",
      "target_status": "passed",
      "cases": [
        "branch_transaction_boundary"
      ],
      "summary_sha256": "6e892b767ad9feef596f0533e1b72620dd5c5e47cfef320c8ace0cfedffa3e7d",
      "raw_sha256": "f0d2933f7323aca4846fa9d962b2bff160db9f8c65cb430f6c4f41662203eafc",
      "case_manifest": {
        "sha256": "6e616ecb1ea8026eef7515be693af96fad4452d1a1ad804a504546491178e206"
      },
      "observed": {
        "case_status": "not_applicable"
      }
    },
    {
      "id": "runtime.25004-batch2-pg10-20260909.pg10",
      "run_id": "25004-batch2-pg10-20260909",
      "target": "pg10",
      "server_version": "10.21 (Debian 10.21-1.pgdg90+1)",
      "server_version_num": 100021,
      "status": "not_applicable",
      "case_status": "not_applicable",
      "target_status": "passed",
      "cases": [
        "branch_transaction_boundary"
      ],
      "summary_sha256": "aec6940d7ab31fd4a9e0fdd6639119dba287bada8c3195ab9e621e0a57bf8e1b",
      "raw_sha256": "f956881ba6ff4cc6f036e014e518813fffccb61a6044710a8d1a12d3fe44e8b2",
      "case_manifest": {
        "sha256": "6e616ecb1ea8026eef7515be693af96fad4452d1a1ad804a504546491178e206"
      },
      "observed": {
        "case_status": "not_applicable"
      }
    }
  ]
}
