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

Marijn Haverbeke marijnh at gmail.com
Tue Mar 9 10:14:41 UTC 2010


Hello Peter,

It seems that transaction was a misguided attempt (apparently I
believed postgres supported nested transactions at the time) to
prevent the failure to insert from abandoning the transaction. I think
the cleanest solution at this point is to add a variant,
save-dao/transaction, that uses a savepoint, and declare the regular
save-dao to only be safe outside of transactions.

I've pushed this change to the repository.

Best,
Marijn




More information about the postmodern-devel mailing list