{
  "schema": 1,
  "sqlstate": "P0000",
  "condition_name": "plpgsql_error",
  "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#L490",
      "lines": "490"
    },
    {
      "id": "src.calls.REL_18_6",
      "kind": "local_artifact",
      "source_role": "source_call_scan",
      "sha256": "9ee8a0e81d8f0825c5c1ae45583439859a26e602bdd4ce2f2a62aa278867ccbf"
    }
  ],
  "claims": [
    {
      "id": "identity",
      "statement": "P0000 is plpgsql_error, the PostgreSQL-specific PL/pgSQL Error category entry.",
      "sources": [
        "src.errcodes.18.6"
      ],
      "method": "Read the fixed category row and macro."
    },
    {
      "id": "bounded-scan",
      "statement": "The fixed REL_18_6 call archive has no resolved report group for the P0000 category code.",
      "sources": [
        "src.calls.REL_18_6"
      ],
      "method": "Filter the archive by exact code and do not promote member-code reports to a category emitter.",
      "limits": "A category definition does not imply that executor paths emit the category code itself."
    },
    {
      "id": "member-boundary",
      "statement": "Specific PL/pgSQL conditions such as P0002, P0003, and P0004 have their own report paths and should be diagnosed by their actual SQLSTATE.",
      "sources": [
        "src.errcodes.18.6"
      ],
      "method": "Compare the category row with member definitions."
    }
  ],
  "messages": [],
  "usage_evidence": [
    {
      "scope": "definition",
      "status": "definition_only",
      "evidence_ids": [
        "identity"
      ]
    },
    {
      "scope": "category-emitter",
      "status": "unknown",
      "evidence_ids": [
        "bounded-scan",
        "member-boundary"
      ]
    },
    {
      "scope": "natural-runtime",
      "status": "unknown",
      "evidence_ids": [
        "bounded-scan"
      ]
    }
  ],
  "runtime": []
}
