Re: passwordcheck: Make the user name check case-insensitive

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>, Anthony Sotolongo <asotolongo(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: passwordcheck: Make the user name check case-insensitive
Date: 2026-11-26 00:10:26
Message-ID: 65540677-523c-461a-a84f-99a4ab6eb626@proxel.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/25/26 21:42, Nathan Bossart wrote:
> On Wed, Nov 25, 2026 at 08:34:08PM +0100, Andreas Karlsson wrote:
>> On 11/25/26 20:30, Daniel Gustafsson wrote:
>>> If we deprecate and remove passwordcheck someone can, and most likely will,
>>> pick it up and make a third party extension out of it, which is perfectly fine.
>>
>> What is the process for deprecating a contrib module like this? Should we
>> have a warning in a couple of versions in the documentation before ripping
>> it out? Should the code also log some warning?
>
> I don't know if we should bother actually removing it, at least anytime
> soon. Regardless, I'd start by adding a warning message in the docs (like
> what's there for MD5 passwords) and making sure we list it in the v20
> release notes next year. Care to draft a patch?

Sure, I could do that when I have some extra time unless someone else
really wants to.

> Of course, we should probably wait a little longer for feedback before we
> proceed...

+1

--
Andreas Karlsson
Percona

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Xnerv Wang 2026-11-26 00:16:46 Re: [PATCH] pg_input_is_valid() reuses the first type name inside a PL/pgSQL loop
Previous Message Tomas Vondra 2026-11-25 23:37:56 Re: Unify parallel worker handling for index builds and instrumentation