Fix version check in 002_pg_upgrade.pl.

Jeff Davis <jdavis@postgresql.org>

Commit: 32dd2c1eff540e454d50a1d59d2d90ab6e70e0b6
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2024-03-12T22:24:03Z
Releases: 17.0
Fix version check in 002_pg_upgrade.pl.

Commit f696c0cd5f tried to account for the version in a way that
includes development versions, but it was broken. Fix with suggestion
from Tom Lane.

Discussion: https://postgr.es/m/1553991.1710191312@sss.pgh.pa.us
Reported-by: Tom Lane

Files

PathChange+/−
src/bin/pg_upgrade/t/002_pg_upgrade.pl modified +2 −6

Discussion

Cited messages not in the archive: 1553991.1710191312@sss.pgh.pa.us