| From: | Geoff Winkless <pgsqladmin(at)geoff(dot)dj> |
|---|---|
| To: | Geoff Winkless <pgsqladmin(at)geoff(dot)dj> |
| Cc: | shashidhar Reddy <shashidharreddy001(at)gmail(dot)com>, 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:11:39 |
| Message-ID: | CAEzk6fcAEf7Y-wiUzk6iCZ52NAEzyALg89msuFne+685zEnbRg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Tue, 21 Mar 2023 at 16:06, Geoff Winkless <pgsqladmin(at)geoff(dot)dj> wrote:
> 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.
>
No, I'm an idiot. Ignore me, I missed "--check".
Geoff
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Vince McMahon | 2023-03-21 23:46:43 | Is there psql cluster or replication |
| Previous Message | Geoff Winkless | 2023-03-21 16:06:08 | Re: Re[2]: Getting error while upgrading postgres from version 12 to 13 |