]> granicus.if.org Git - postgresql/commit
Fix bogus logic for checking executables' versions within pg_upgrade.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Nov 2017 16:30:30 +0000 (11:30 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Nov 2017 16:30:36 +0000 (11:30 -0500)
commit115a7075633899408fc1ab85f3bc2e5deeaa5e45
tree5710ef91f82c141aad415d4061137835dff69079
parent1772c5c6eee7f3eeaa0e485f67e9cd92f165e1cc
Fix bogus logic for checking executables' versions within pg_upgrade.

Somebody messed up a refactoring here.  As it stood, we'd check pg_ctl's
--version output twice for each cluster.  Worse, the first check for the
new cluster's version happened before we'd done any validate_exec checks
there, breaking the check ordering the code intended.

A. Akenteva

Discussion: https://postgr.es/m/f9266a85d918a3cf3a386b5148aee666@postgrespro.ru
src/bin/pg_upgrade/exec.c