pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_upgrade: Check version of target cluster binaries
Date: Wed, 03 Mar 2021 08:57:55 +0000
Message-ID: <E1lHNKN-0005IC-V6@gemulon.postgresql.org> (raw)

pg_upgrade: Check version of target cluster binaries

This expands the binary validation in pg_upgrade with a version
check per binary to ensure that the target cluster installation
only contains binaries from the target version.

In order to reduce duplication, validate_exec is exported from
port.h and the local copy in pg_upgrade is removed.

Author: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/9328.1552952117@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f06b1c598254f8adb2b7f51d6a7685618a7fb121

Modified Files
--------------
src/bin/pg_upgrade/exec.c | 88 +++++++++++++++++++----------------------------
src/common/exec.c         |  3 +-
src/include/port.h        |  1 +
3 files changed, 38 insertions(+), 54 deletions(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1lHNKN-0005IC-V6@gemulon.postgresql.org>
Permalink:  ../E1lHNKN-0005IC-V6@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lHNKN-0005IC-V6@gemulon.postgresql.org

 · 

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: peter@eisentraut.org
  Subject: Re: pgsql: pg_upgrade: Check version of target cluster binaries
  In-Reply-To: <E1lHNKN-0005IC-V6@gemulon.postgresql.org>
  References: <E1lHNKN-0005IC-V6@gemulon.postgresql.org>

* 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