From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: pg_upgrade: Check version of target cluster binaries |
Date: | 2021-03-03 08:57:55 |
Message-ID: | E1lHNKN-0005IC-V6@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)yesql(dot)se>
Discussion: https://www.postgresql.org/message-id/flat/9328(dot)1552952117(at)sss(dot)pgh(dot)pa(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2021-03-03 18:51:48 | pgsql: Make test_target_session_attrs more robust against connection fa |
Previous Message | Amit Kapila | 2021-03-03 06:49:26 | pgsql: Clarify the usage of max_replication_slots on the subscriber sid |