pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
delete old cluster after pg_upgrade with -k option
2+ messages / 2 participants
[nested] [flat]

* delete old cluster after pg_upgrade with -k option
@ 2021-02-17 06:09 Atul Kumar <akumar14871@gmail.com>
  2021-02-17 07:42 ` Re: delete old cluster after pg_upgrade with -k option Laurenz Albe <laurenz.albe@cybertec.at>
  0 siblings, 1 reply; 2+ messages in thread

From: Atul Kumar @ 2021-02-17 06:09 UTC (permalink / raw)
  To: pgsql-general <pgsql-general@lists.postgresql.org>

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.





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: delete old cluster after pg_upgrade with -k option
  2021-02-17 06:09 delete old cluster after pg_upgrade with -k option Atul Kumar <akumar14871@gmail.com>
@ 2021-02-17 07:42 ` Laurenz Albe <laurenz.albe@cybertec.at>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2021-02-17 07:42 UTC (permalink / raw)
  To: Atul Kumar <akumar14871@gmail.com>; pgsql-general <pgsql-general@lists.postgresql.org>

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






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-02-17 07:42 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-02-17 06:09 delete old cluster after pg_upgrade with -k option Atul Kumar <akumar14871@gmail.com>
2021-02-17 07:42 ` Laurenz Albe <laurenz.albe@cybertec.at>

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