On Wed, Nov 25, 2026 at 3:31 AM Tom Lane <[email protected]> wrote:
Good morning Tom, > passwordcheck is only intended as sample code, not a production-grade > check for weak passwords. I'm not sure we want to give people the > impression that it's good for anything more than that as-is. JFYI, I witnessed cases where people asked for adding functionality into the passwordcheck (even if that was just for CrackLib) purley because of the fact that it is provided as ready to load extension inside the distributed packages (and yes docs say "You can adapt this module to your needs by changing the source code"). Wouldn't it be better then to just deprecate it in PG20 release notes and *not* compile by default (unless somebody enhances it greatly; modern password rules are kind of like: minN chars + min A upper/lowercase letters + min B numbers + some symbols). -J.
