Re: Maximum password length
От | Peter Eisentraut |
---|---|
Тема | Re: Maximum password length |
Дата | |
Msg-id | 08a13f64-6893-daea-4c51-bcc957809876@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: Maximum password length (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Maximum password length
|
Список | pgsql-hackers |
On 2020-09-01 02:54, Tom Lane wrote: > Therefore, I propose setting this up with a #define symbol in > pg_config_manual.h and leaving it at that. Giving documentation in > pg_config_manual.h seems sufficient to me. Attached is a revised > version of Nathan's patches that does it like that. > > I set the proposed limit at 1024 bytes, but given that we now know > of use-cases needing up to 800 bytes, maybe there should be a little > more headroom? I don't want to make it enormous, though, seeing that > we're allocating static buffers of that size. ISTM that it's only going to be a matter of time before that will be exceeded. Why have a limit at all? Accept whatever StringInfo accepts. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: