pg_upgrade: Fix oversight in version checking

Peter Eisentraut <peter@eisentraut.org>

Commit: 040af779382e8e4797242c49b93a5a8f9b79c370
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2021-03-04T09:34:17Z
Releases: 14.0
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@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/E1lHNKN-0005IC-V6%40gemulon.postgresql.org

Files

PathChange+/−
src/bin/pg_upgrade/exec.c modified +29 −22

Discussion

Cited messages not in the archive: E1lHNKN-0005IC-V6@gemulon.postgresql.org