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

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Andreas Karlsson <andreas(at)proxel(dot)se>
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-25 20:42:37
Message-ID: awdIPRgF--P-u9ow@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

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

--
nathan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mikhail Gribkov 2026-11-25 21:02:31 Bitwise OR instead of logical one in test_aio.c
Previous Message Manu 2026-11-25 20:23:47 Re: Allow progress tracking of sub-commands