From: | Sean <iihero(at)qq(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Is there still password max length restrictions in PG? |
Date: | 2024-03-18 13:29:11 |
Message-ID: | tencent_0CACFEAEF59B4288FAE8B5F48299312E9907@qq.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi All,
Just noticed that the definition:
postgres=# \d pg_shadow
.....
usebypassrls | boolean | | |
passwd | text | C | |
.....
Looks like there is no length restriction for the password of a user.
And in the code change history, 67a472d71c ("Remove arbitrary restrictions on password length.", 2020-09-03)
seems having removed the length restriction. (in the history, there is 100 or even max length of 1024.)
So, here, just a minor question, can we consider there is no max length restriction for the password of a user?
Need some document to make a clarification or suggestion to the user?
BR,
Sean He (iihero(at)qq(dot)com)
From | Date | Subject | |
---|---|---|---|
Next Message | Michał Kłeczek | 2024-03-18 13:31:41 | Re: Alternative SAOP support for GiST |
Previous Message | Thomas Munro | 2024-03-18 13:25:33 | Re: Regression tests fail with musl libc because libpq.so can't be loaded |