Re: delete old cluster after pg_upgrade with -k option - Mailing list pgsql-general

From Laurenz Albe
Subject Re: delete old cluster after pg_upgrade with -k option
Date
Msg-id aeb42c58da7ee8328302b238fadfc359dc69c17f.camel@cybertec.at
Whole thread Raw
In response to delete old cluster after pg_upgrade with -k option  (Atul Kumar <akumar14871@gmail.com>)
List pgsql-general
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




pgsql-general by date:

Previous
From: Atul Kumar
Date:
Subject: delete old cluster after pg_upgrade with -k option
Next
From: Laurenz Albe
Date:
Subject: Re: Order by not working