pgsql: Add passwordcheck.min_password_length.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add passwordcheck.min_password_length.
Date: 2025-01-07 21:08:00
Message-ID: E1tVGnw-000OSG-0h@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add passwordcheck.min_password_length.

This new parameter can be used to change the minimum allowed
password length (in bytes). Note that it has no effect if a user
supplies a pre-encrypted password.

Author: Emanuele Musella, Maurizio Boriani
Reviewed-by: Tomas Vondra, Bertrand Drouvot, Japin Li
Discussion: https://postgr.es/m/CA%2BugDNyYtHOtWCqVD3YkSVYDWD_1fO8Jm_ahsDGA5dXhbDPwrQ%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f7e1b3828a930639aefb5746a214cb5ddf734361

Modified Files
--------------
contrib/passwordcheck/expected/passwordcheck.out | 4 +++
contrib/passwordcheck/expected/passwordcheck_1.out | 4 +++
contrib/passwordcheck/passwordcheck.c | 24 +++++++++++---
contrib/passwordcheck/sql/passwordcheck.sql | 4 +++
doc/src/sgml/passwordcheck.sgml | 37 ++++++++++++++++++++++
5 files changed, 69 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2025-01-07 21:35:09 pgsql: Use PqMsg_* macros in postgres.c.
Previous Message Nathan Bossart 2025-01-07 20:39:57 pgsql: Lower default value of autovacuum_worker_slots in initdb as need