a(dot)akenteva(at)postgrespro(dot)ru writes:
> I see this bug is now fixed in pg_upgrade/exec.c => check_bin_dir().
> There's another bit exactly like that in check_data_dir() though.
Oh, so there is ... and looking around, that seems to have been
copied-and-pasted out of check_cluster_versions(), without any
thought for the fact that those calls were thereby made redundant.
Fix pushed, thanks for noticing!
regards, tom lane