• Tom Lane's avatar
    Improve pg_upgrade's checks for required executables. · 88c80345
    Tom Lane authored
    Don't insist on pg_dumpall and psql being present in the old cluster,
    since they are not needed.  Do insist on pg_resetxlog being present
    (in both old and new), since we need it.  Also check for pg_config,
    but only in the new cluster.  Remove the useless attempt to call
    pg_config in the old cluster; we don't need to know the old value of
    --pkglibdir.  (In the case of a stripped-down migration installation
    there might be nothing there to look at anyway, so any future change
    that might reintroduce that need would have to be considered carefully.)
    
    Per my attempts to build a minimal previous-version installation to support
    pg_upgrade.
    88c80345
option.c 9.19 KB