Re: Re[2]: Getting error while upgrading postgres from version 12 to 13 - Mailing list pgsql-general

From Geoff Winkless
Subject Re: Re[2]: Getting error while upgrading postgres from version 12 to 13
Date
Msg-id CAEzk6fcAEf7Y-wiUzk6iCZ52NAEzyALg89msuFne+685zEnbRg@mail.gmail.com
Whole thread Raw
In response to Re: Re[2]: Getting error while upgrading postgres from version 12 to 13  (Geoff Winkless <pgsqladmin@geoff.dj>)
List pgsql-general
On Tue, 21 Mar 2023 at 16:06, Geoff Winkless <pgsqladmin@geoff.dj> wrote:
On Tue, 21 Mar 2023 at 10:29, shashidhar Reddy <shashidharreddy001@gmail.com> wrote:
Actually I was using the below command to check the compatibility, it worked without any issue with 12.6 but it is not working with 1version 2.14
time /usr/lib/postgresql/13/bin/pg_upgrade --old-bindir /usr/lib/postgresql/12/bin --new-bindir /usr/lib/postgresql/13/bin --old-datadir /usr/pgdata/pg_data --new-datadir /usr/pgdata/pg_data2 --link --check

Just in case I'm _not_ misreading this... are you saying you already ran this command once with postgres v12.6?

If so, since you've used --link the original folder will no longer be version12 data.

No, I'm an idiot. Ignore me, I missed "--check".

Geoff

pgsql-general by date:

Previous
From: Geoff Winkless
Date:
Subject: Re: Re[2]: Getting error while upgrading postgres from version 12 to 13
Next
From: Vince McMahon
Date:
Subject: Is there psql cluster or replication