Re: Is there still password max length restrictions in PG?
Sean <iihero@qq.com>
From: Sean <iihero@qq.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-03-18T13:51:27Z
Lists: pgsql-hackers
Thanks Daniel. That's a big help to me! ------------------ Original ------------------ From: "Daniel Gustafsson" <daniel@yesql.se>; Date: Mon, Mar 18, 2024 09:49 PM To: "Sean"<iihero@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 <iihero@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