Re: BUG #4109: Typo in documentation

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: BUG #4109: Typo in documentation
Дата
Msg-id 48061069.30200@enterprisedb.com
обсуждение исходный текст
Ответ на BUG #4109: Typo in documentation  ("Fujii Masao" <fujii.masao@oss.ntt.co.jp>)
Ответы Re: BUG #4109: Typo in documentation  (Fujii Masao <fujii.masao@oss.ntt.co.jp>)
Список pgsql-bugs
Fujii Masao wrote:
> The following bug has been logged online:
>
> Bug reference:      4109
> Logged by:          Fujii Masao
> Email address:      fujii.masao@oss.ntt.co.jp
> PostgreSQL version: 8.3
> Operating system:   All
> Description:        Typo in documentation
> Details:
>
> I found the typo in
> http://www.postgresql.org/docs/8.3/static/datatype-enum.html .
>
>> The length of an enum value's textual label is limited by the NAMEDATALEN
>
>> setting compiled into PostgreSQL; in standard builds this means at most 63
> bytes.
>
> Correct is that the NAMEDATALEN means 64 bytes in standard builds.

No. NAMEDATALEN is 64 bytes, but the 64th byte is reserved for the
null-terminator, so the string stored can be at most 63 bytes long.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От:
Дата:
Сообщение: Re: BUG: Protocol 3.0 ErrorResponse: Last 'null' characterseems odd
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG: Protocol 3.0 ErrorResponse: Last 'null' characterseems odd