Re: psql backward compatibility - Mailing list pgsql-general

From Christophe Pettus
Subject Re: psql backward compatibility
Date
Msg-id 0A877C72-DDE2-4F4D-BBF5-8711CB5E28F5@thebuild.com
Whole thread Raw
In response to psql backward compatibility  (Stephen Haddock <haddock.stephenm@gmail.com>)
List pgsql-general

> On Nov 18, 2020, at 08:05, Stephen Haddock <haddock.stephenm@gmail.com> wrote:
> When upgrading an older version of postgres, version 8.4 for example, to a newer version such as 9.6, does the data
haveto be migrated immediately? 

Yes.  You cannot run binaries from a newer major version of PostgreSQL on a cluster that was initialized with an older
majorversion.  You'll need to do a pg_dump/pg_restore, or use  pg_upgrade to create a new cluster. 

--
-- Christophe Pettus
   xof@thebuild.com




pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: create type with %type or %rowtype
Next
From: "David G. Johnston"
Date:
Subject: Re: psql backward compatibility