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

From Sean
Subject Re: Is there still password max length restrictions in PG?
Date
Msg-id tencent_3921CBF0F4E7AE33153AD4B7AC4D14448C0A@qq.com
Whole thread Raw
In response to Re: Is there still password max length restrictions in PG?  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Is there still password max length restrictions in PG?
List pgsql-hackers
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? 
Is it reasonable? 

BR,
Sean He

------------------ Original ------------------
From: "Daniel Gustafsson" <daniel@yesql.se>;
Date: Mon, Mar 18, 2024 09:33 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:29, Sean <iihero@qq.com> wrote:

> Need some document to make a clarification or suggestion to the user?

The suggestion is to not use password authentication but instead use SCRAM.

--
Daniel Gustafsson

pgsql-hackers by date:

Previous
From: Étienne BERSAC
Date:
Subject: Re: REVOKE FROM warning on grantor
Next
From: Daniel Gustafsson
Date:
Subject: Re: Is there still password max length restrictions in PG?