Is there still password max length restrictions in PG? - Mailing list pgsql-hackers

From Sean
Subject Is there still password max length restrictions in PG?
Date
Msg-id tencent_0CACFEAEF59B4288FAE8B5F48299312E9907@qq.com
Whole thread Raw
In response to Re: Things I don't like about \du's "Attributes" column  (Pavel Luzanov <p.luzanov@postgrespro.ru>)
Responses Re: Is there still password max length restrictions in PG?
List 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@qq.com)

pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: Optimizing nbtree ScalarArrayOp execution, allowing multi-column ordered scans, skip scan
Next
From: Michał Kłeczek
Date:
Subject: Re: Alternative SAOP support for GiST