Skip to content
Snippets Groups Projects
Verified Commit fd6d8a83 authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

postgres: upgrade_pg: run vacuumdb after upgrading

Also remove the suggestion to call delete_old_cluster.sh; it's now being
created under /tmp and it only contains a command to remove the old data
directory. (We can do the latter ourselves after some time has passed.)
parent ac3665bd
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,4 @@ systemctl unmask postgresql.service
systemctl daemon-reload
systemctl start postgresql.service
# We probably want to manually delete things for now in case this script misses
# some stuff
#su - postgres -c /var/lib/postgres/delete_old_cluster.sh
su - postgres -c 'vacuumdb --all --analyze-in-stages'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment