fergusstrange / embedded-postgres

Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test
MIT License
854 stars 89 forks source link

Add CachePath as a configuration option #75

Closed kylecarbs closed 2 years ago

kylecarbs commented 2 years ago

This allows a configurable cache path to store postgres archives. Callers can centralize the location of all data stored by this library with this change.

kylecarbs commented 2 years ago

@coder we plan on using this to allow for a simpler setup of coder/coder. We want to reduce the files that we touch to the users' single CLI config directory.

fergusstrange commented 2 years ago

Hey @kylecarbs apologies for the slowness. It looks like you've significantly dropped coverage with this change. We'd need to at least maintain the current level in order to progress.