Re: ProcessStartupPacket(): database_name and user_name truncation - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ProcessStartupPacket(): database_name and user_name truncation
Date
Msg-id 1764457.1688140452@sss.pgh.pa.us
Whole thread Raw
In response to Re: ProcessStartupPacket(): database_name and user_name truncation  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: ProcessStartupPacket(): database_name and user_name truncation
List 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



pgsql-hackers by date:

Previous
From: David Cook
Date:
Subject: [PATCH] pgrowlocks: Make mode names consistent with docs
Next
From: Alexander Lakhin
Date:
Subject: Re: Avoid unused value (src/fe_utils/print.c)