Re: psql backward compatibility

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: Stephen Haddock <haddock(dot)stephenm(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: psql backward compatibility
Date: 2020-11-18 16:09:21
Message-ID: 0A877C72-DDE2-4F4D-BBF5-8711CB5E28F5@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Nov 18, 2020, at 08:05, Stephen Haddock <haddock(dot)stephenm(at)gmail(dot)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 have to be migrated immediately?

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

--
-- Christophe Pettus
xof(at)thebuild(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2020-11-18 16:12:52 Re: psql backward compatibility
Previous Message David G. Johnston 2020-11-18 16:08:27 Re: create type with %type or %rowtype