mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-11-27 16:10:28 +08:00
This also makes managing Postgres versions truly optional without a
hassle. Per DEVELOPERS.md:
If you choose to use `mise` to compile and install Postgres, you
can run:
ln -s mise.local.toml.template mise.local.toml
This is overdue, but quite a while `mise` was in the "adopt" phase
rather than "required," (and `asdf` read `.tool-versions`) but these
days, everyone should have switched over.
If you were using `mise` with Postgres `15.8` before, you can run this
to `pg_upgrade` your existing data in place:
PGUSER=postgres ${HOME}/.local/share/mise/installs/postgres/17.6/bin/pg_upgrade \
--old-bindir=${HOME}/.local/share/mise/installs/postgres/15.8/bin \
--new-bindir=${HOME}/.local/share/mise/installs/postgres/17.6/bin \
--old-datadir=${HOME}/.local/share/mise/installs/postgres/15.8/data \
--new-datadir=${HOME}/.local/share/mise/installs/postgres/17.6/data
2 lines
24 B
Text
2 lines
24 B
Text
[tools]
|
|
postgres = "17"
|