Re: psql backward compatibility - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: psql backward compatibility
Date
Msg-id 20201118162252.GA21225@alvherre.pgsql
Whole thread Raw
In response to psql backward compatibility  (Stephen Haddock <haddock.stephenm@gmail.com>)
List pgsql-general
On 2020-Nov-18, Stephen Haddock wrote:

> Hello,
> 
> When upgrading an older version of postgres, version 8.4 for example, to a
> newer version such as 9.6, does the data have to be migrated immediately?

As others have said: yes.

> It looks like the recommended method is to dump the data, upgrade,
> initialize a new cluster, and then restore the dumped data into the newer
> version.

Actually, you can also use pg_upgrade, which might be more convenient,
particularly if your database is large.



pgsql-general by date:

Previous
From: Snjezana Frketic
Date:
Subject: Re: How to select values in a JSON type of column?
Next
From: "David G. Johnston"
Date:
Subject: Re: psql backward compatibility