Re: Add tests for object size limits of injection points

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Add tests for object size limits of injection points
Дата
Msg-id aRFcpvQCkDF5a3H7@paquier.xyz
обсуждение исходный текст
Ответ на Re: Add tests for object size limits of injection points  (Chao Li <li.evan.chao@gmail.com>)
Ответы Re: Add tests for object size limits of injection points
Список pgsql-hackers
On Mon, Nov 10, 2025 at 10:30:31AM +0800, Chao Li wrote:
> Is really confused. The error message says “maximum of 64”, but the
> test right uses a name of length 64. I know that the tricky is the
> ‘\0’ terminator, but should SQL writer have to keep mind about the
> ‘\0’ terminator? Should they just consider maximum length as 63?

Right.  We could add a "- 1" to the error message printed.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления: