Re:Pg_tmp – Run tests on an isolated, temporary PostgreSQL d...
by desas on Monday April 26, 2021 @05:58PM
(#26948775)
We modified our code base to give us nested transactions using postgres savepoints, came in handy for automatically wrapping tests in transactions too (though you can opt-out per test)
[ Parent
| on HN ]
Re:Pg_tmp – Run tests on an isolated, temporary PostgreSQL d...
by throwdbaaway on Monday April 26, 2021 @06:13PM
(#26948937)
https://buttondown.email/nelhage/archive/notes-on-some-postg... - Be aware that there is a very bad performance cliff in postgres when using savepoints.