Re: Parametrization minimum password lenght

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: Emanuele Musella <emamuse86(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Parametrization minimum password lenght
Date: 2024-12-19 15:57:31
Message-ID: Z2RCa15Qut91n43u@nathan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Dec 19, 2024 at 09:36:17AM -0600, Nathan Bossart wrote:
> On Thu, Dec 19, 2024 at 07:25:30AM +0000, Bertrand Drouvot wrote:
>> - errmsg("password is too short")));
>> + errmsg("password is too short: %d (< %d)", pwdlen, min_password_length)));
>
> I think we should explicitly point to the parameter and note its current
> value.

Like so.

--
nathan

Attachment Content-Type Size
v11-0001-Add-passwordcheck.min_password_length.patch text/plain 6.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2024-12-19 16:07:25 Re: Back-patch of: avoid multiple hard links to same WAL file after a crash
Previous Message Yura Sokolov 2024-12-19 15:48:14 Re: Fix bank selection logic in SLRU