Transaction Rollback errors - Mailing list pgsql-general

From Siddharth Jain
Subject Transaction Rollback errors
Date
Msg-id CAPqV3pT0RrxLSxtzo62fZ-TXpm7Uj63Ve4AxGg7+emNz7wWmbw@mail.gmail.com
Whole thread Raw
Responses Re: Transaction Rollback errors
List pgsql-general
Hi All,

when my application (Node.js) receives a class 40 error:

Class 40 — Transaction Rollback
40000transaction_rollback
40002transaction_integrity_constraint_violation
40001serialization_failure
40003statement_completion_unknown
40P01deadlock_detected
then does it mean PG has already rolled back the tx and therefore I should not attempt to roll it back again? Thanks,

S.

pgsql-general by date:

Previous
From: "Mike Bayer"
Date:
Subject: Re: Guidance on INSERT RETURNING order
Next
From: Alexander Saydakov
Date:
Subject: parallel aggregation