Re: Pre-version pg_upgrade syntax check

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Pre-version pg_upgrade syntax check
Date: 2020-02-10 23:40:22
Message-ID: alpine.LNX.2.20.2002101535311.4839@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 10 Feb 2020, Rich Shepard wrote:

> Good advice; I'll do that.

Huh! Not what I expected:

postgres(at)salmo:~$ pg_upgrade -c -b /usr/lib64/postgresql/11/bin/ -B
/usr/lib64/postgresql/12/bin/ -d /var/lib/pgsql/11/data -D
/var/lib/pgsql/12/data/

(All on one line; wrapped by alpine.)

Performing Consistency Checks
-----------------------------
Checking cluster versions
Old cluster data and binary directories are from different major versions.
Failure, exiting

Well, of course they're from different major versions, that's why I'm
running pg_upgrade. What did I do incorrectly?

Rich

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-02-10 23:45:32 Re: Pre-version pg_upgrade syntax check
Previous Message Rich Shepard 2020-02-10 23:30:51 Re: Pre-version pg_upgrade syntax check