Re: What to do with tablespaces when upgrading to pg13 from pg1X? - Mailing list pgsql-general

From James(王旭)
Subject Re: What to do with tablespaces when upgrading to pg13 from pg1X?
Date
Msg-id tencent_5C7A2AE06CC12DED1908D9D0@qq.com
Whole thread Raw
In response to Re: What to do with tablespaces when upgrading to pg13 from pg1X?  (Bruce Momjian <bruce@momjian.us>)
Responses Re: What to do with tablespaces when upgrading to pg13 from pg1X?
List pgsql-general
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

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: What to do with tablespaces when upgrading to pg13 from pg1X?
Next
From: Bruce Momjian
Date:
Subject: Re: What to do with tablespaces when upgrading to pg13 from pg1X?