• Bruce Momjian's avatar
    Fix incorrect error message reported for non-existent users · 613c6d26
    Bruce Momjian authored
    Previously, lookups of non-existent user names could return "Success";
    it will now return "User does not exist" by resetting errno.  This also
    centralizes the user name lookup code in libpgport.
    
    Report and analysis by Nicolas Marchildon;  patch by me
    613c6d26
common.h 1.32 KB