Fix closing thread postgresql connections

This commit is contained in:
Christopher Baines 2022-11-17 16:32:04 +00:00
parent 9fc5821180
commit ca1e4819b6

View file

@ -153,8 +153,7 @@
(pg-conn-finish conn)
(hash-remove! (%postgresql-connections-hash-table)
(current-thread))
(fluid-set! %thread-postgresql-connection
conn))))
(fluid-set! %thread-postgresql-connection #f))))
(define* (with-postgresql-transaction conn f
#:key always-rollback?)