Re: ProcessStartupPacket(): database_name and user_name truncation
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>,
Michael Paquier <michael@paquier.xyz>,
Kyotaro Horiguchi <horikyota.ntt@gmail.com>,
pgsql-hackers@lists.postgresql.org
Date: 2023-06-30T15:54:12Z
Lists: pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes: > After taking another look at this, I wonder if it'd be better to fail as > soon as we see the database or user name is too long instead of lugging > them around when authentication is destined to fail. If we're agreed that we aren't going to truncate these identifiers, that seems like a reasonable way to handle it. regards, tom lane
Commits
-
Don't truncate database and user names in startup packets.
- 562bee0fc13d 17.0 landed