Re:Asdf – An Extendable Version Manager
by dceddia on Wednesday February 03, 2021 @04:27PM
(#26019349)
Mind elaborating on how it manages the database? That sounds useful! Does it install and run the db for you or something?
[ Parent
| on HN ]
Re:Asdf – An Extendable Version Manager
by pmontra on Wednesday February 03, 2021 @05:59PM
(#26020365)
Sibling 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.
Re:Asdf – An Extendable Version Manager
by sgerrand on Wednesday February 03, 2021 @05:31PM
(#26020072)
I'm assuming the author was referring to this plugin: https://github.com/smashedtoatoms/asdf-postgres
Re:Asdf – An Extendable Version Manager
by styluss on Wednesday February 03, 2021 @05:25PM
(#26019998)
It manages the version of the database that you run. https://github.com/smashedtoatoms/asdf-postgres