flâneur — a map of the web's best reading

Correct way to update PostgreSQL · Homebrew · Discussion #4451

github.com · 1,334 words · saved by 1 readers

I have postgresql@14 installed. I would like to update to postgresql@15. My data directory is /usr/local/var/postgres. With postgresql@14 installed and linked, pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start runs as expected. I stopped the DB and installed postgresql@15 but did not link it -- postgres --version still shows 14. I attempt to run brew postgresql-upgrade-database -v, but get back: If I unlink postgresql@14 (but leave it installed) and link postgresql@15, such that postgres --version returns 15, and then run brew postgresql-upgrade-database -v, I get back the same: Even if I uninstall postgresql@14 completely, running the upgrade command still returns the same error. What am I doing wrong? Beta Was this translation helpful? Give feedback. Decided to just use pg_upgrade directly: - Decided to just use pg_upgrade directly: Beta Was this translation helpful? Give feedback. - for my case I w

Correct way to update PostgreSQL · Homebrew · Discussion #4451 · GitHub Skip to content You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} Homebrew Correct way to update PostgreSQL #4451 Answered by MattIPv4 MattIPv4 asked this question in Everyday usage Correct way to update PostgreSQL #4451 MattIPv4 Apr 24, 2023 · 1 comments · 4 replies Answered by MattIPv4 Return to top Discus

Explore this link on the map →

related reading