• Heikki Linnakangas's avatar
    Call getsockopt() on the correct socket. · 8e33fc17
    Heikki Linnakangas authored
    We're interested in the buffer size of the socket that's connected to the
    client, not the one that's listening for new connections. It happened to
    work, as default buffer size is the same on both, but it was clearly not
    wrong.
    
    Spotted by Tom Lane
    8e33fc17
pqcomm.c 49.2 KB