Re: Name type in postgres

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Name type in postgres
Дата
Msg-id 16973.1385567075@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Name type in postgres  (mohsen soodkhah mohammadi <mohsensoodkhah@gmail.com>)
Список pgsql-hackers
mohsen soodkhah mohammadi <mohsensoodkhah@gmail.com> writes:
> I want do understand that did can we have name without null-terminator?

No.  Possibly that was the original intention, but for many years the
system has enforced that Name contains at least one trailing null byte, ie
the maximum usable length of identifiers is NAMEDATALEN-1.  So the code
you quote is valid.
        regards, tom lane



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

Предыдущее
От: Hafez Kamal
Дата:
Сообщение: [HITB-Announce] #HITB2014AMS Call for Papers Now Open
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Status of FDW pushdowns