From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@postgresql.org
Subject: Re: Pre-version pg_upgrade syntax check
Date: Mon, 10 Feb 2020 15:40:22 -0800 (PST)
Message-ID: <alpine.LNX.2.20.2002101535311.4839@salmo.appl-ecosys.com> (raw)
In-Reply-To: <alpine.LNX.2.20.2002101529200.4839@salmo.appl-ecosys.com>
References: <alpine.LNX.2.20.2002101352320.32087@salmo.appl-ecosys.com>
<03ebdc12-d8f6-8310-9552-f7a744fe3e73@aklaver.com>
<alpine.LNX.2.20.2002101529200.4839@salmo.appl-ecosys.com>
On Mon, 10 Feb 2020, Rich Shepard wrote:
> Good advice; I'll do that.
Huh! Not what I expected:
postgres@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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: rshepard@appl-ecosys.com
Subject: Re: Pre-version pg_upgrade syntax check
In-Reply-To: <alpine.LNX.2.20.2002101535311.4839@salmo.appl-ecosys.com>
References: <alpine.LNX.2.20.2002101352320.32087@salmo.appl-ecosys.com> <03ebdc12-d8f6-8310-9552-f7a744fe3e73@aklaver.com> <alpine.LNX.2.20.2002101529200.4839@salmo.appl-ecosys.com> <alpine.LNX.2.20.2002101535311.4839@salmo.appl-ecosys.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox