Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Bruce Momjian <bruce@momjian.us>, adam@labkey.com, pgsql-bugs@lists.postgresql.org
Date: 2024-11-27T17:50:19Z
Lists: pgsql-bugs
On Wed, Nov 27, 2024 at 05:43:38PM +0000, Bertrand Drouvot wrote: > Regarding the question, the report that lead to the initial discussion was coming > from a real case from an internal team. 562bee0fc1 did not fix it though but at > least provides a consistent behavior between ASCII and non-ASCII. It may be more consistent, but if it didn't fix the issue for that user, and it's breaking things for other users, then the added consistency seems to have helped no one. -- nathan
Commits
-
Revert "Don't truncate database and user names in startup packets."
- d09fbf645ece 17.3 landed
- a0ff56e2d3ff 18.0 landed
-
Don't truncate database and user names in startup packets.
- 562bee0fc13d 17.0 cited
-
Truncate incoming username and database name to NAMEDATALEN-1 characters
- d18c1d1f5102 7.1.1 cited