Re: [PATCH] Log details for client certificate failures

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Jacob Champion <jchampion@timescale.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2022-07-15T16:34:17Z
Lists: pgsql-hackers
On 14.07.22 23:09, Jacob Champion wrote:
> On Thu, Jul 14, 2022 at 1:12 PM Peter Eisentraut
> <peter.eisentraut@enterprisedb.com> wrote:
>> Concretely, I was thinking like the attached top-up patch.
>>
>> The other way can surely be made to work somehow, but this seems much
>> simpler and with fewer questions about the details.
> 
> Ah, seeing it side-by-side helps. That's much easier, I agree.

Committed like that.




Commits

  1. Fix tiny memory leaks

  2. Don't reflect unescaped cert data to the logs

  3. pg_clean_ascii(): escape bytes rather than lose them

  4. Log details for client certificate failures