Re: No length checking for "name" input

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: No length checking for "name" input
Дата
Msg-id 16577.1142952385@sss.pgh.pa.us
обсуждение исходный текст
Ответ на No length checking for "name" input  ("Donald Fraser" <postgres@kiwi-fraser.net>)
Список pgsql-bugs
"Donald Fraser" <postgres@kiwi-fraser.net> writes:
> There appears to be no length checking for data types of "name".

What there is is automatic truncation to the maximum allowed length (63
by default).  This is the same behavior specified for identifiers in the
SQL standard, and it's also the same behavior as for, say, casting to
varchar(63).  So I don't see why you'd expect something different.

            regards, tom lane

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