| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Ganesh Kannan <ganesh(dot)kannan(at)weatheranalytics(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: After upgrade to 9.5 space not being released |
| Date: | 2016-06-03 17:48:53 |
| Message-ID: | 20160603174853.GA6956@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Fri, Jun 3, 2016 at 01:40:38PM -0400, Tom Lane wrote:
> Ganesh Kannan <ganesh(dot)kannan(at)weatheranalytics(dot)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 thought I 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(at)momjian(dot)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 +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ganesh Kannan | 2016-06-03 18:38:38 | Re: After upgrade to 9.5 space not being released |
| Previous Message | Tom Lane | 2016-06-03 17:40:38 | Re: After upgrade to 9.5 space not being released |