From: James(王旭) <wangxu@gu360.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: What to do with tablespaces when upgrading to pg13 from pg1X?
Date: Tue, 12 Jan 2021 10:50:16 +0800
Message-ID: <tencent_5C7A2AE06CC12DED1908D9D0@qq.com> (raw)
In-Reply-To: <20210112024541.GA4329@momjian.us>
References: <tencent_054F2BAA623053795C9BE722@qq.com>
<20210112024541.GA4329@momjian.us>
You mean PG_13_202007201 was created by PG 13 ? No, there isn't any other clusters, maybe it was created by my previous failed attempts of upgrading.
So it seems it should be ok that I issue a command like this
find . -name "PG_13*"|xargs rm -rf and then do upgrade again?
There should be a subdirectory under your tablespace directory for every
major version, e.g., PG_13_202007201. I have no idea why your _new_
version already has a directory there. Do you have a second cluster on
the machine that is using that tablespace directory for PG 13?
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee
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: wangxu@gu360.com, bruce@momjian.us
Subject: Re: What to do with tablespaces when upgrading to pg13 from pg1X?
In-Reply-To: <tencent_5C7A2AE06CC12DED1908D9D0@qq.com>
References: <tencent_054F2BAA623053795C9BE722@qq.com> <20210112024541.GA4329@momjian.us> <tencent_5C7A2AE06CC12DED1908D9D0@qq.com>
* 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