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

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Anthony Sotolongo <asotolongo(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: passwordcheck: Make the user name check case-insensitive
Date: 2026-11-25 15:46:34
Message-ID: CAKAnmmJ8xHXEC2hUJ=y50Ph5V8V1kzXd23dgRVVu9e74qpOSeg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 24, 2026 at 9:32 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> passwordcheck is only intended as sample code, not a production-grade
> check for weak passwords.

It's definitely being used out in the wild, as is, mostly because it is in
the "blessed" contrib directory. If we don't want people to use in
production, we should move it to the docs and pull it from contrib.

Cheers,
Greg

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksandr Korchak 2026-11-25 15:53:13 PANIC at shutdown when a reload changes full_page_writes
Previous Message Ivan Alekseev 2026-11-25 15:44:03 [PATCH] Allow NOTIFY without cross-transaction commit ordering