From: Daniel Gustafsson <daniel@yesql.se>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: pg_upgrade: Check version of target cluster binaries
Date: Thu, 4 Mar 2021 01:06:36 +0100
Message-ID: <9AB1BC9C-DEEC-414E-9A86-060D409C14FC@yesql.se> (raw)
In-Reply-To: <1249994.1614809081@sss.pgh.pa.us>
References: <E1lHNKN-0005IC-V6@gemulon.postgresql.org>
<1208787.1614803332@sss.pgh.pa.us>
<9df301a8-78bf-7fe4-c6bb-22ef7727385c@dunslane.net>
<1249994.1614809081@sss.pgh.pa.us>
> On 3 Mar 2021, at 23:04, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Andrew Dunstan <andrew@dunslane.net> writes:
>> On 3/3/21 3:28 PM, Tom Lane wrote:
>>> Crake says this patch broke its cross-version upgrade tests:
>
>> The log says:
>> check for
>> "/home/andrew/bf/root/upgrade.crake/REL9_2_STABLE/inst/bin/postgres"
>> failed: incorrect version: found "postgres (PostgreSQL) 9.2.24",
>> expected "postgres (PostgreSQL) 14devel"
>> But that makes no sense at all. Looks like we're confusing the source and the target.
>
> On looking closer, I think the patch is just several bricks shy of a
> load. It's applying validate_exec (which insists on a match to its
> own version number) to *both* the source and target binaries. It
> must not check the source that way.
It's much to late to focus here at the moment, I will take a look in the
morning unless beaten to it.
--
Daniel Gustafsson https://vmware.com/
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-committers@postgresql.org
Cc: daniel@yesql.se, tgl@sss.pgh.pa.us, andrew@dunslane.net, peter@eisentraut.org
Subject: Re: pgsql: pg_upgrade: Check version of target cluster binaries
In-Reply-To: <9AB1BC9C-DEEC-414E-9A86-060D409C14FC@yesql.se>
References: <E1lHNKN-0005IC-V6@gemulon.postgresql.org> <1208787.1614803332@sss.pgh.pa.us> <9df301a8-78bf-7fe4-c6bb-22ef7727385c@dunslane.net> <1249994.1614809081@sss.pgh.pa.us> <9AB1BC9C-DEEC-414E-9A86-060D409C14FC@yesql.se>
* 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