• Robert Haas's avatar
    libpq: Fix inadvertent change in PQhost() behavior. · 11003eb5
    Robert Haas authored
    Commit 274bb2b3 caused PQhost() to
    return the value of the hostaddr parameter rather than the relevant
    host when the latter parameter was specified.  That's wrong.  Commit
    9a1d0af4 then amplified the damage by
    using PQhost() in more places, so that the SSL test suite started
    failing.
    
    Report by Andreas Karlsson; patch by me.
    11003eb5
fe-connect.c 154 KB