oauth: Report cleanup errors as warnings on stderr

Using conn->errorMessage for these "shouldn't-happen" cases will only
work if the connection itself fails. Our SSL and password callbacks
print WARNINGs when they find themselves in similar situations, so
follow their lead.

Reviewed-by: Zsolt Parragi <[email protected]>
Discussion: 
https://postgr.es/m/CAOYmi%2BmEU_q9sr1PMmE-4rLwFN%3DOjyndDwFZvpsMU3RNJLrM9g%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f8c0b91a6063fc8066f1ed22c463417f1f611dfd

Modified Files
--------------
src/interfaces/libpq-oauth/oauth-curl.c | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)

Reply via email to