This is a crucial bug fix as cursors might not be deallocated in some drivers as the deallocation call would raise but the connection would remain open. Also we should be allowing cleanup of prepared queries with close once a transaction failed to prevent leaking statements.
This would also help with #82 as deallocate in terminate/2 would always be possible.
This is a crucial bug fix as cursors might not be deallocated in some drivers as the deallocation call would raise but the connection would remain open. Also we should be allowing cleanup of prepared queries with
close
once a transaction failed to prevent leaking statements.This would also help with #82 as deallocate in terminate/2 would always be possible.