Re: Upgrade from 9.5.4 to 9.6.1

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Upgrade from 9.5.4 to 9.6.1
Date: 2016-11-16 16:06:12
Message-ID: alpine.LNX.2.11.1611160803520.13561@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 16 Nov 2016, Alban Hertroys wrote:

> pg_upgrade migrates your databases from your old (9.5) cluster to the
> new (9.6) one. Initdb doesn't do that.

Alban,

That's what I assumed to be the case.

> If your 9.6 database does indeed contain your databases, then something
> must have done the pg_upgrade for you. Perhaps the slackware package
> script does something like that,

No, it only builds the package. I manually install it and run initdb.

> What I think what happened is that you are using the new pg 9.6 psql
> binary to list the databases in your old 9.5 cluster.

Not only list them, but access them from the command line. This is what
I'm trying to understand.

Regardless, I'll stop the running postgres, run pg_upgrade, then start it
from the /9.6/data/ directory.

Thanks,

Rich

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2016-11-16 16:08:58 Re: Change column type from int to bigint - quickest way
Previous Message Alban Hertroys 2016-11-16 15:52:00 Re: Upgrade from 9.5.4 to 9.6.1