Re: What to do with tablespaces when upgrading to pg13 from pg1X?

From: James(王旭) <wangxu(at)gu360(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: What to do with tablespaces when upgrading to pg13 from pg1X?
Date: 2021-01-12 02:50:16
Message-ID: tencent_5C7A2AE06CC12DED1908D9D0@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You mean&nbsp;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&nbsp;
find . -name "PG_13*"|xargs rm -rf&nbsp;and then do upgrade again?

&nbsp;

There should be a subdirectory under your tablespace directory for every
major version, e.g., PG_13_202007201.&nbsp; I have no idea why your _new_
version already has a directory there.&nbsp; Do you have a second cluster on
the machine that is using that tablespace directory for PG 13?

--
&nbsp; Bruce Momjian&nbsp; <bruce(at)momjian(dot)us&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://momjian.us
&nbsp; EnterpriseDB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://enterprisedb.com

&nbsp; The usefulness of a cup is in its emptiness, Bruce Lee

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2021-01-12 03:01:27 Re: What to do with tablespaces when upgrading to pg13 from pg1X?
Previous Message Bruce Momjian 2021-01-12 02:45:42 Re: What to do with tablespaces when upgrading to pg13 from pg1X?