Thanks Daniel. That's a big help to me!
------------------ Original ------------------ From: "Daniel Gustafsson" <dan...@yesql.se>; Date: Mon, Mar 18, 2024 09:49 PM To: "Sean"<iih...@qq.com>; Cc: "pgsql-hackers"<pgsql-hackers@lists.postgresql.org>; Subject: Re: Is there still password max length restrictions in PG? > On 18 Mar 2024, at 14:43, Sean <iih...@qq.com> wrote: > > Hi, > Thanks for your information. Even using SCRAM, when specified the content of "password", still there is a basic request about the length of it. From the source code, seems there is no restriction, right??? SCRAM stores a hashed fixed-size representation of the password, so there is no restriction in terms of length on the user supplied secret. -- Daniel Gustafsson