[postmodern-devel] Postgres transaction warnings and save-dao

Daniel White daniel at whitehouse.id.au
Tue Mar 9 12:07:47 UTC 2010


On Tue, Mar 9, 2010 at 10:16 PM, Marijn Haverbeke <marijnh at gmail.com> wrote:
>
> I'd say something like this works best as a project-local hack, rather
> than part of the library interface. The user can perfectly well do
> (execute "begin") outside of the macro, causing the *transaction*
> variable to no longer reflect the actual situation.

Maybe with a better docstring explicitly stating that it is limited to
only knowing of transactions initiated with the WITH-TRANSACTION
macro.

-- 
Daniel White




More information about the postmodern-devel mailing list