postgres: keep root ownership of /var/lib/postgres
Adapt upgrade_pg.sh to avoid manipulating /var/lib/postgres' structure as the postgres user. Instead, create a new empty data directory owned by postgres for initdb to use.
Please register or sign in to comment