Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 21 Mar 2023 at 16:06, Geoff Winkless <pgsqladmin@xxxxxxxx> wrote:
On Tue, 21 Mar 2023 at 10:29, shashidhar Reddy <shashidharreddy001@xxxxxxxxx> 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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux