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

From: Tomas Pospisek <tpo2(at)sourcepole(dot)ch>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Getting error while upgrading postgres from version 12 to 13
Date: 2023-03-18 21:30:07
Message-ID: ba59dd9b-6a87-ebff-c041-2dbcffe74a89@sourcepole.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Sun, Mar 19, 2023 at 2:09 AM shashidhar Reddy
> <shashidharreddy001(at)gmail(dot)com <mailto:shashidharreddy001(at)gmail(dot)com>> wrote:
>
> Hello,
>
> I am in a process of upgrading postgresql from version 12 to 13
> using pg_upgrdrade but I am getting error stating
>
>  FATAL:  database files are incompatible with server
>  DETAIL:  The data directory was initialized by PostgreSQL version 13
> , which is not compatible with this version 12.14 (Ubuntu
> 12.14-1.pgdg18.04+1)
>
> Please help me on this issue.

You have configured the postgres v12 server to use a directory where
there are data from a postgres v13 server. Evidently that can not work...
*t

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Janes 2023-03-18 21:30:08 Re: Can't connect to server
Previous Message Tomas Pospisek 2023-03-18 21:26:23 Re: Getting error while upgrading postgres from version 12 to 13