From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ganesh Kannan <ganesh.kannan@weatheranalytics.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: After upgrade to 9.5 space not being released
Date: Fri, 3 Jun 2016 13:48:53 -0400
Message-ID: <20160603174853.GA6956@momjian.us> (raw)
In-Reply-To: <2185.1464975638@sss.pgh.pa.us>
References: <E1b89JP-0008NJ-7r@malur.postgresql.org>
<BL2PR07MB2356120BBEFDC5B1E93EBFDC86590@BL2PR07MB2356.namprd07.prod.outlook.com>
<1032.1464973557@sss.pgh.pa.us>
<BL2PR07MB2356AEE3F3A304929E75F67486590@BL2PR07MB2356.namprd07.prod.outlook.com>
<2185.1464975638@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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 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@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 +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: bruce@momjian.us, tgl@sss.pgh.pa.us, ganesh.kannan@weatheranalytics.com
Subject: Re: After upgrade to 9.5 space not being released
In-Reply-To: <20160603174853.GA6956@momjian.us>
References: <E1b89JP-0008NJ-7r@malur.postgresql.org> <BL2PR07MB2356120BBEFDC5B1E93EBFDC86590@BL2PR07MB2356.namprd07.prod.outlook.com> <1032.1464973557@sss.pgh.pa.us> <BL2PR07MB2356AEE3F3A304929E75F67486590@BL2PR07MB2356.namprd07.prod.outlook.com> <2185.1464975638@sss.pgh.pa.us> <20160603174853.GA6956@momjian.us>
* 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