postgresql / PostgreSQL
PostgreSQL 25P02: in_failed_sql_transaction
A command was sent inside a transaction that has already failed.
Visible symptoms
- SQLSTATE 25P02.
- Condition name: in_failed_sql_transaction.
Safe verification and recovery
Roll back
Roll back the failed transaction before sending new commands.
Fix the first error
Find the earlier error that put the transaction in a failed state.
Matching evidence and limitations
Reported error signals
Matches the documented error signal; it identifies the documented case, not the exact root cause of your request.
The local analyzer never executes suggested commands or treats a possible match as certainty.