Fix version check in 002_pg_upgrade.pl.
authorJeff Davis
Tue, 12 Mar 2024 22:24:03 +0000 (15:24 -0700)
committerJeff Davis
Tue, 12 Mar 2024 22:24:03 +0000 (15:24 -0700)
commit32dd2c1eff540e454d50a1d59d2d90ab6e70e0b6
tree9b3b12222d00c10a4b0c65bfdeb03ce752f1e1ac
parent6ee3261e9bb6f0aa30ec74896c57f69b0636bfdd
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
src/bin/pg_upgrade/t/002_pg_upgrade.pl