From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: pg_upgrade: Check version of target cluster binaries
Date: Wed, 3 Mar 2021 16:58:09 -0500
Message-ID: <9df301a8-78bf-7fe4-c6bb-22ef7727385c@dunslane.net> (raw)
In-Reply-To: <1208787.1614803332@sss.pgh.pa.us>
References: <E1lHNKN-0005IC-V6@gemulon.postgresql.org>
<1208787.1614803332@sss.pgh.pa.us>
On 3/3/21 3:28 PM, Tom Lane wrote:
> Peter Eisentraut <peter@eisentraut.org> writes:
>> pg_upgrade: Check version of target cluster binaries
> Crake says this patch broke its cross-version upgrade tests:
>
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=crake&dt=2021-03-03%2009%3A02%3A31
>
> where the important bit is
>
> 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"
>
> It's not at all clear from here whether that's a bug in the patch
> or in the buildfarm's test harness.
>
>
This has worked for years ... here's the latest code:
<https://github.com/PGBuildFarm/client-code/blob/master/PGBuild/Modules/TestUpgradeXversion.pm;
The invocation of pg_upgrade is at line 560.
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.
cheers
andrew
--
Andrew Dunstan
EDB: https://www.enterprisedb.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: andrew@dunslane.net, tgl@sss.pgh.pa.us, peter@eisentraut.org
Subject: Re: pgsql: pg_upgrade: Check version of target cluster binaries
In-Reply-To: <9df301a8-78bf-7fe4-c6bb-22ef7727385c@dunslane.net>
References: <E1lHNKN-0005IC-V6@gemulon.postgresql.org> <1208787.1614803332@sss.pgh.pa.us> <9df301a8-78bf-7fe4-c6bb-22ef7727385c@dunslane.net>
* 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