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 CAEzk6ffJOdTm5pOcWABqAH9V6DZAPg-fAVo2BCmEPgSh-gnmqQ@mail.gmail.com
Whole thread Raw
In response to Re: Re[2]: Getting error while upgrading postgres from version 12 to 13  (shashidhar Reddy <shashidharreddy001@gmail.com>)
Responses 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 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.

Geoff

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Getting error while upgrading postgres from version 12 to 13
Next
From: Geoff Winkless
Date:
Subject: Re: Re[2]: Getting error while upgrading postgres from version 12 to 13