Re: BUG #18711: Attempting a connection with a database name longer than 63 characters now fails
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Nathan Bossart <nathandbossart@gmail.com>, Bruce Momjian <bruce@momjian.us>, adam@labkey.com,
pgsql-bugs@lists.postgresql.org
Date: 2024-12-03T08:03:55Z
Lists: pgsql-bugs
On Tue, Dec 3, 2024 at 8:38 PM Bertrand Drouvot <bertranddrouvot.pg@gmail.com> wrote: > Maybe we can try an "hybrid" approach that could simplify the AlterSystemCatalogEncoding() > by relying on a new struct, say: Interesting idea, yeah, I'll look into that. > Do you think it's worth to move the discussion into a dedicated hackers thread? > (maybe reaching a wider audience?) I think the subject is sensible enough. Ok yeah, I'll start a new thread on -hackers soon.
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