08007
Read PG 18 manual ↗transaction_resolution_unknown
- SQLSTATE
- 08007
- Condition name
- transaction_resolution_unknown
- Class
- Connection Exception
- Source macro
- ERRCODE_TRANSACTION_RESOLUTION_UNKNOWN
- Evidence
- Definition only
English SQLSTATE atlas: authored explanations and source/runtime evidence are separate from the manual definitions. View source ↗
At a glance
SQLSTATE 08007 is transaction_resolution_unknown in Class 08. 08007 names an unknown transaction resolution. The fixed PostgreSQL 18.6 and 10.23 call scans contain no resolved core throw site for it.
Meaning
08007 names an unknown transaction resolution. The fixed PostgreSQL 18.6 and 10.23 call scans contain no resolved core throw site for it.
Diagnosis
A network failure around COMMIT may leave the client unable to know whether the server committed, but that uncertainty is not automatically an 08007 ErrorResponse. Check server logs, transaction identifiers, and business reconciliation records.
Response
Treat completion as unknown until reconciled; use a request key or an application-specific result lookup before deciding whether to repeat work. Do not synthesize this condition with RAISE or a timeout.
Messages
This scope has no confirmed fixed primary-message template for 08007; the available definition/source records do not establish one. Do not treat a client exception without a matching server diagnostic as proof of 08007.
Representative case
This page has no selected natural SQL run. The structured evidence records a source or definition boundary; a client-side RAISE would not represent a backend mechanism.
Versions
The generated facts table records the locked catalogue snapshots and earliest observed definition. This page has no selected natural SQL run; its fixed REL_18_6/REL_10_23 source boundary must not be read as an observed runtime result or as a claim about every intermediate release.
Sources
src.errcodes.18.6—src/backend/utils/errcodes.txtatREL_18_6commit724edf9bde9d356724ad384a2e196edc3c9f80f7; fixed blob SHA-2566e8de346643ba84aa3c9c6a73360acfc7b2dfb89162c06c08ce9bf5bcd5bbcba(source).src.calls.REL_18_6/src.calls.REL_10_23— fixed local call scans, SHA-2569ee8a0e81d8f0825c5c1ae45583439859a26e602bdd4ce2f2a62aa278867ccbf/00d16d3eb01b71ccf1b245c8f3102f9d0ec9f36fb02777b8dd1b99fcb263040c; these scans preserve the resolved call context used by the claims.
Source evidence
Evidence belongs to the frozen source and runtime versions listed here. It is not a runtime verification of the selected manual version.
08007 is the transaction_resolution_unknown condition in Class 08.
Method: Read the fixed errcodes.txt definition and the locked catalogue metadata.
Limits: Directory identity does not identify every backend or client path.
The fixed core scans contain no resolved PostgreSQL throw site for 08007. A client that cannot learn the result of COMMIT is a reconciliation problem, not proof of this server SQLSTATE.
Method: Trace the fixed REL_18_6 and REL_10_23 source call scans and the recorded source paths.
Limits: This is a bounded source claim; it is not an observed natural SQLSTATE case.
The locked catalogue records 08007 in the listed snapshots; this definition/source-only page has no selected natural runtime and only compares the fixed catalogue and bounded REL_18_6/REL_10_23 call-scan records.
Method: Read the generated facts block and bounded fixed source/call-scan records; no runtime target summaries are used.
Limits: Presence in a definition file is not an exact behavioral introduction; this scope establishes no resolved fixed core emitter or universal message template and does not prove every intermediate release.
- src/backend/utils/errcodes.txt · REL_18_6 ·
724edf9bde9d356724ad384a2e196edc3c9f80f7 raw/calls/REL_18_6.jsonl· REL_18_6 ·raw/calls/REL_10_23.jsonl· REL_10_23 ·- verify/cases/08007/cases.json · workspace ·
Message templates
No extracted message template is attached to this condition.
Reproduction & repair cases
source_boundary · PG 10, 18
Preconditions
- A runner-owned disposable target is provisioned only if a source-boundary smoke run is requested.
Trigger: No artificial SQL trigger is executed; this record preserves the fixed source/definition boundary.
Expected assertions
Repair: Use the concrete source path or component-specific documentation when it applies.
Cleanup: Drop the case schema with an owner connection.
Recorded runtime evidence
No runtime observation is attached to this entry.
Definition snapshot: english-manuals:288377bf4568dd92a97b2a1df79… · English manual source