Await ReadyForQuery
before emitting errors from transactional control methods
#541
Labels
type: bug
A general bug
Milestone
Bug Report
commitTransaction()
emits an error signal upon processingErrorResponse
. A subsequent call torollbackTransaction
fails with "no transaction in progress" because the driver hasn't processed the finalReadyForQuery
frame.The driver should await the entire completion before throwing the error signal.
Reproducer
Input Code
Steps to reproduce
Input Code
The text was updated successfully, but these errors were encountered: