4 ms·
Mind elaborating on how it manages the database? That sounds useful! Does it install and run the db for you or something?
by dceddia 6y ago
Mind elaborating on how it manages the database? That sounds useful! Does it install and run the db for you or something?
- styluss 6y agoIt manages the version of the database that you run. https://github.com/smashedtoatoms/asdf-postgres https://github.com/smashedtoatoms/asdf-postgres
- sgerrand 6y agoI'm assuming the author was referring to this plugin: https://github.com/smashedtoatoms/asdf-postgres https://github.com/smashedtoatoms/asdf-postgres
- pmontra 6y agoSibling answers link to the plugin with the details. The general idea is that it installs the binaries and the data into a subdirectory of ~/.asdf, then sets PATH and the other environment variables to point to there. Then pg_ctl start starts the database. Each project has its own .tool_versions file so you can have different versions of the same database running in parallel. I was doing that with docker containers but this is easier.