Re: Parametrization minimum password lenght

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Japin Li <japinli@hotmail.com>
Cc: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>, Emanuele Musella <emamuse86@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2025-01-06T19:32:16Z
Lists: pgsql-hackers

Attachments

On Wed, Dec 25, 2024 at 01:15:53PM +0800, Japin Li wrote:
> It seems that the v11 cannot apply on master since 7f97b4734, and rebase is needed.
> 
> $ git am ~/v11-0001-Add-passwordcheck.min_password_length.patch
> Applying: Add passwordcheck.min_password_length.
> error: patch failed: contrib/passwordcheck/passwordcheck.c:26
> error: contrib/passwordcheck/passwordcheck.c: patch does not apply
> Patch failed at 0001 Add passwordcheck.min_password_length.
> hint: Use 'git am --show-current-patch=diff' to see the failed patch
> When you have resolved this problem, run "git am --continue".
> If you prefer to skip this patch, run "git am --skip" instead.
> To restore the original branch and stop patching, run "git am --abort".
> 
> 
> The comment of prev_check_password_hook has been changed which case the apply failed.

Here is a rebased version of the patch.  Barring objections, I am planning
to commit this soon.

-- 
nathan

Commits

  1. Add passwordcheck.min_password_length.