From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Atul Kumar <akumar14871@gmail.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: delete old cluster after pg_upgrade with -k option
Date: Wed, 17 Feb 2021 08:42:25 +0100
Message-ID: <aeb42c58da7ee8328302b238fadfc359dc69c17f.camel@cybertec.at> (raw)
In-Reply-To: <CA+ONtZ4JaErp41v7HOZ+Er6juCYAdTv4OQgqHGPiBq8BfByXNQ@mail.gmail.com>
References: <CA+ONtZ4JaErp41v7HOZ+Er6juCYAdTv4OQgqHGPiBq8BfByXNQ@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: laurenz.albe@cybertec.at, akumar14871@gmail.com
Subject: Re: delete old cluster after pg_upgrade with -k option
In-Reply-To: <aeb42c58da7ee8328302b238fadfc359dc69c17f.camel@cybertec.at>
References: <CA+ONtZ4JaErp41v7HOZ+Er6juCYAdTv4OQgqHGPiBq8BfByXNQ@mail.gmail.com> <aeb42c58da7ee8328302b238fadfc359dc69c17f.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox