Re: After upgrade to 9.5 space not being released - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: After upgrade to 9.5 space not being released
Date
Msg-id 20160603174853.GA6956@momjian.us
Whole thread Raw
In response to Re: After upgrade to 9.5 space not being released  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: After upgrade to 9.5 space not being released  (Ganesh Kannan <ganesh.kannan@weatheranalytics.com>)
List pgsql-bugs
On Fri, Jun  3, 2016 at 01:40:38PM -0400, Tom Lane wrote:
> Ganesh Kannan <ganesh.kannan@weatheranalytics.com> writes:
> > Sorry I meant to say I did not remove the old data directory given they are hard links, and not soft links. I
thoughtI should not remove those hard links when using "pg_upgrade --link" option. 
>
> As long as those old files still have hard links in the old data
> directory, they are not going to go away.
>
> Note that if you're using tablespaces, you need to clear out the
> appropriate tablespace subdirectories, not only the old data
> directory proper.

Uh, after the upgrade, the output say:

    Running this script will delete the old cluster's data files:
        ./delete_old_cluster.sh

That script is designed to do this cleanup.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+                     Ancient Roman grave inscription +

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: After upgrade to 9.5 space not being released
Next
From: Ganesh Kannan
Date:
Subject: Re: After upgrade to 9.5 space not being released