From: Tomas Pospisek <tpo2@sourcepole.ch>
To: pgsql-general@lists.postgresql.org
Subject: Re: Getting error while upgrading postgres from version 12 to 13
Date: Sat, 18 Mar 2023 22:30:07 +0100
Message-ID: <ba59dd9b-6a87-ebff-c041-2dbcffe74a89@sourcepole.ch> (raw)
In-Reply-To: <CAH=zU4sgK44h1mKTbryRgg_VBJyMLucrE-_-xh2ifPbrBuBEdA@mail.gmail.com>
References: <CAH=zU4sB+HaH5APLa6yx93kWPb2L-z5Xr57wfhWGn+RnUUMHUA@mail.gmail.com>
<CAH=zU4sgK44h1mKTbryRgg_VBJyMLucrE-_-xh2ifPbrBuBEdA@mail.gmail.com>
> On Sun, Mar 19, 2023 at 2:09 AM shashidhar Reddy
> <shashidharreddy001@gmail.com <mailto:shashidharreddy001@gmail.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tpo2@sourcepole.ch
Subject: Re: Getting error while upgrading postgres from version 12 to 13
In-Reply-To: <ba59dd9b-6a87-ebff-c041-2dbcffe74a89@sourcepole.ch>
References: <CAH=zU4sB+HaH5APLa6yx93kWPb2L-z5Xr57wfhWGn+RnUUMHUA@mail.gmail.com> <CAH=zU4sgK44h1mKTbryRgg_VBJyMLucrE-_-xh2ifPbrBuBEdA@mail.gmail.com> <ba59dd9b-6a87-ebff-c041-2dbcffe74a89@sourcepole.ch>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox