marijnh / Postmodern

A Common Lisp PostgreSQL programming interface
http://marijnhaverbeke.nl/postmodern
Other
400 stars 90 forks source link

export begin-transaction symbol #334

Closed t-zuehlsdorff closed 10 months ago

t-zuehlsdorff commented 10 months ago

Aloha,

i tried to port some Unit-Tests which test various queries against a PostgreSQL database.

While writing the tests, i realized that the begin-transaction function is not exported.

I can't use the with-transaction macro, because i never want anything of my tests to be persisted at all. The test should be executed within a transaction and when they are done, the transaction must be rollback'ed.

Can you export the begin-transaction symbol so we can realize this scenario?

Thank you very much, Torsten

sabracrolleton commented 10 months ago

Thank you for bringing this up. Done.

t-zuehlsdorff commented 10 months ago

Thank you very much for the fast resolution :)