7 ms·
Related self-promotion: I built pgtemp (https://github.com/boustrophedon/pgtemp https://github.com/boustrophedon/pgtemp) to automate doing exactly these mkdir/i
by boustrophedon 2y ago
Related self-promotion: I built pgtemp (https://github.com/boustrophedon/pgtemp https://github.com/boustrophedon/pgtemp) to automate doing exactly these mkdir/initdb/load/destroy steps.
- rkaveland 2y agoAuthor of the blog post here -- that looks like exactly what I needed, so I'm probably going to add a dependency to it to https://github.com/kaaveland/eugene/ https://github.com/kaaveland/eugene/ so I can delete a ton of code. :-) That looks fantastic, so I'm actually just going to put a link to it in the post so that more people see it.
- boustrophedon 2y agoThanks! Feel free to file an issue if there's something missing from the library or the daemon.
- switchbak 2y agoThere's a similar JVM version here: https://github.com/zonkyio/embedded-postgres https://github.com/zonkyio/embedded-postgres It's well maintained and seems to do what it says on the tin. I start it up once across all the suites (managing DB state as required in the suite) and the overhead is very minimal.