Re: add warning upon successful md5 password auth - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: add warning upon successful md5 password auth
Date
Msg-id aZSf4sVYvSNCTcU5@nathan
Whole thread Raw
In response to Re: add warning upon successful md5 password auth  (Andreas Karlsson <andreas@proxel.se>)
Responses Re: add warning upon successful md5 password auth
List pgsql-hackers
On Tue, Feb 17, 2026 at 07:08:17AM +0100, Andreas Karlsson wrote:
> After thinking more on the subject I have come around. I think warning spam
> (that can be disabled) is fine and why not introduce it directly in 19?

WFM

> As for the patch itself I think it looks good, but I am not a fan of the
> test code. Why not simply write like the below?
> 
>     test_conn($node, 'user=md5_role', 'md5', 0,
>         log_like =>
>           [qr/connection authenticated: identity="md5_role" method=md5/],
>         expected_stderr =>
>           [qr/authenticated with an MD5-encrypted password/])

No good reason.  I've updated the patch.

-- 
nathan

Attachment

pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: generating function default settings from pg_proc.dat
Next
From: Álvaro Herrera
Date:
Subject: Re: Having problems generating a code coverage report