Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vqxCI-003wVo-0d for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Feb 2026 17:43:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vqxCG-00FlQ2-2i for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Feb 2026 17:43:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vqxCG-00FlPt-1i for pgsql-hackers@lists.postgresql.org; Fri, 13 Feb 2026 17:43:16 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vqxCC-00000000Wl9-1vMy for pgsql-hackers@postgresql.org; Fri, 13 Feb 2026 17:43:15 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 61DHhABu543885; Fri, 13 Feb 2026 12:43:10 -0500 From: Tom Lane To: Nathan Bossart cc: Andreas Karlsson , pgsql-hackers@postgresql.org Subject: Re: add warning upon successful md5 password auth In-reply-to: References: <0731e3d8-3d13-4539-addc-a2c13a8b1b14@proxel.se> Comments: In-reply-to Nathan Bossart message dated "Fri, 13 Feb 2026 11:26:26 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <543883.1771004590.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 13 Feb 2026 12:43:10 -0500 Message-ID: <543884.1771004590@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Nathan Bossart writes: > On Fri, Feb 13, 2026 at 06:04:14AM +0100, Andreas Karlsson wrote: >> The patch looks good and I think it would make sense to merge it in 19,= why >> wait for 20? But the main question I see is if this is too noisy or not= . >> Some applications connected to PostgreSQL quite a lot and I am sure we = would >> make some users unhappy so I am not fully on board with this patch. But= on >> the other hand we have way too many people who still use md5 and we rea= lly >> should push them towards using scram. > FWIW if users are really annoyed with these warnings, they can disable t= hem > by setting md5_password_warnings to off. But I think we really ought to= do > something like $subject before we completely remove MD5 password support= . +1. We need something like this to be there for at least a year or two before we can consider removing MD5 passwords entirely. As long as the warnings can be turned off, I think it's all right and indeed necessary to have them on-by-default. regards, tom lane PS: I've not read the patch, so this isn't an endorsement of details.