rollback safety

This commit is contained in:
Conrad Ludgate
2025-07-22 15:58:47 +01:00
parent 11294ca322
commit 539652fa4e
4 changed files with 25 additions and 40 deletions

View File

@@ -306,7 +306,8 @@ impl Client {
// "DISCARD SEQUENCES;": deallocates all cached sequence state
let _responses = self.inner_mut().send_simple_query(
"CLOSE ALL;
"ROLLBACK;
CLOSE ALL;
SET SESSION AUTHORIZATION DEFAULT;
RESET ALL;
DEALLOCATE ALL;