Re: Re[2]: Getting error while upgrading postgres from version 12 to 13

From: Geoff Winkless <pgsqladmin(at)geoff(dot)dj>
To: shashidhar Reddy <shashidharreddy001(at)gmail(dot)com>
Cc: abdulsayeed24(at)gmail(dot)com, pgsql-general <pgsql-general(at)postgresql(dot)org>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Subject: Re: Re[2]: Getting error while upgrading postgres from version 12 to 13
Date: 2023-03-21 16:06:08
Message-ID: CAEzk6ffJOdTm5pOcWABqAH9V6DZAPg-fAVo2BCmEPgSh-gnmqQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 21 Mar 2023 at 10:29, shashidhar Reddy <shashidharreddy001(at)gmail(dot)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

>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Geoff Winkless 2023-03-21 16:11:39 Re: Re[2]: Getting error while upgrading postgres from version 12 to 13
Previous Message Adrian Klaver 2023-03-21 15:43:53 Re: Getting error while upgrading postgres from version 12 to 13