pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: 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: Wed, 03 Mar 2021 17:04:41 -0500
Message-ID: <1249994.1614809081@sss.pgh.pa.us> (raw)
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>

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.

			regards, tom lane





view thread (7+ messages)  latest in thread

Message-ID: <1249994.1614809081@sss.pgh.pa.us>
Permalink:  ../1249994.1614809081@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1249994.1614809081@sss.pgh.pa.us

 · 

reply

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: 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: <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>

* 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