]> 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:30 +0000 (11:30 -0500)
commit9be95ef156e7c2ae0924300acddd483504fa33b3
treeebc7419c7cf9d7b6156e9b9ec1a0182e0897b7fa
parent20d9adab60754ac71b0b500c91c45e12e940b3ce
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