diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-12-24 23:12:30 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-12-24 23:12:30 +0700 |
commit | c50b25ae1e20fb8869b66c8d47663c57cf63ae2d (patch) | |
tree | 2eb65a2f42839be42a5770cf482c2e928ca2efb6 | |
parent | 80b104e1c679614baf50332852687de681b4c926 (diff) |
system/postgresql16: Fix Path in README.SBo
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/postgresql16/README.SBo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/postgresql16/README.SBo b/system/postgresql16/README.SBo index 987f648ef6..917383c832 100644 --- a/system/postgresql16/README.SBo +++ b/system/postgresql16/README.SBo @@ -41,7 +41,7 @@ A few hints for PostgreSQL 15.x -> 16.x upgrade: # su postgres -c "initdb -D /var/lib/pgsql/16/data --locale=en_US.UTF-8 -A md5 -W" - Adjust the pg_hba.conf in postgresql 16 to allow postgres user to connect - Run pg_upgrade (as postgres user) - $ pg_upgrade --old-datadir /var/lib/pgsql/15/data/ --new-datadir /var/lib/pgsql/16/data/ --old-bindir /usr/lib64/postgresql/15/bin/ --new-bindir /usr/lib64/postgresql16/16/bin/ -U postgres + $ pg_upgrade --old-datadir /var/lib/pgsql/15/data/ --new-datadir /var/lib/pgsql/16/data/ --old-bindir /usr/lib64/postgresql15/15/bin/ --new-bindir /usr/lib64/postgresql16/16/bin/ -U postgres - Start postgresql 16 service - Optionally, vacuum all database /usr/lib{64}/postgresql16/16/bin/vacuumdb -U postgres --all --analyze-in-stages |