postgresql upgrade
TIFU by letting pacman upgrade the postgresql a major version (13->14). Then the postgresql service failed to start.. Anyways here is the fix.
also a nice thing in the AUR: the postgresql-old-upgrade
package. It provides
the binary for the older version of psql under/opt/postgresql{VERSION}
Before doing anything stop the postgresql service.
|
|
Then start postgresql.service
again
Thank you, archwiki.
https://wiki.archlinux.org/title/PostgreSQL#Upgrading_PostgreSQL
/post/pg_upgrade