delete old cluster after pg_upgrade with -k option
Hi,
I have upgrade the postgres cluster from 9.5 to 9.6 using pg_upgarde
utility with -k option.
Now I just wanted to be confirmed that is it safe to run
delete_old_cluster.sh file as we have used -k option that must created
hard links with old cluster.
Suggestions are welcome.
On Wed, 2021-02-17 at 11:39 +0530, Atul Kumar wrote:
I have upgrade the postgres cluster from 9.5 to 9.6 using pg_upgarde
utility with -k option.Now I just wanted to be confirmed that is it safe to run
delete_old_cluster.sh file as we have used -k option that must created
hard links with old cluster.
It is absolutely safe.
It would actually be quite unsafe *not* to delete the old cluster,
because if anybody managed to start it, data corruption would be the
consequence.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com