• Tom Lane's avatar
    Improve libpq's error reporting for SSL failures. · fee476da
    Tom Lane authored
    In many cases, pqsecure_read/pqsecure_write set up useful error messages,
    which were then overwritten with useless ones by their callers.  Fix this
    by defining the responsibility to set an error message to be entirely that
    of the lower-level function when using SSL.
    
    Back-patch to 8.3; the code is too different in 8.2 to be worth the
    trouble.
    fee476da
fe-secure.c 36.4 KB