• B
    As part of the work for making relocatable installs, I have re-factored · fda15b35
    Bruce Momjian 提交于
    all the code that looks for other binaries.  I move FindExec into
    port/exec.c (and renamed it to find_my_binary()).  I also added
    find_other_binary that looks for another binary in the same directory as
    the calling program, and checks the version string.
    
    The only behavior change was that initdb and pg_dump would look in the
    hard-coded bindir directory if it can't find the requested binary in the
    same directory as the caller.  The new code throws an error.  The old
    behavior seemed too error prone for version mismatches.
    fda15b35
postmaster.c 88.7 KB