Getting error while upgrading postgres from version 12 to 13

From: shashidhar Reddy <shashidharreddy001(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Getting error while upgrading postgres from version 12 to 13
Date: 2023-03-18 20:39:06
Message-ID: CAH=zU4sB+HaH5APLa6yx93kWPb2L-z5Xr57wfhWGn+RnUUMHUA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.
--
Shashidhar

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2023-03-18 20:43:33 Re: Getting error while upgrading postgres from version 12 to 13
Previous Message Andreas Joseph Krogh 2023-03-18 17:07:40 Re: Delete values from JSON