Re: ProcessStartupPacket(): database_name and user_name truncation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ProcessStartupPacket(): database_name and user_name truncation
Дата
Msg-id 1764457.1688140452@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ProcessStartupPacket(): database_name and user_name truncation  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: ProcessStartupPacket(): database_name and user_name truncation  ("Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: David Cook
Дата:
Сообщение: [PATCH] pgrowlocks: Make mode names consistent with docs
Следующее
От: Alexander Lakhin
Дата:
Сообщение: Re: Avoid unused value (src/fe_utils/print.c)