top | item 46760563

(no title)

Winsaucerer | 1 month ago

Some database tests can't be done within transactions. With postgres, I create a copy of the database via WITH TEMPLATE, and each test runs in its own copy of the database. Then it can use or avoid transactions as it pleases, because the whole thing is local to that one tests anyway.

discuss

order

No comments yet.