pgsql: pg_upgrade: Fix oversight in version checking

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_upgrade: Fix oversight in version checking
Date: 2021-03-04 10:10:42
Message-ID: E1lHkwM-0006vV-60@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_upgrade: Fix oversight in version checking

Mistake in f06b1c598254f8adb2b7f51d6a7685618a7fb121: We should only
check the version of the binaries in the target installation. The
source installation can of course be of a different version.

Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Discussion: https://www.postgresql.org/message-id/flat/E1lHNKN-0005IC-V6%40gemulon.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/040af779382e8e4797242c49b93a5a8f9b79c370

Modified Files
--------------
src/bin/pg_upgrade/exec.c | 51 +++++++++++++++++++++++++++--------------------
1 file changed, 29 insertions(+), 22 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2021-03-04 18:24:17 pgsql: Close psql processes gracefully in recovery tests
Previous Message Fujii Masao 2021-03-04 09:24:40 pgsql: Remove redundant getenv() for PGUSER, in psql help.