Re: BUG #15747: Help says 'application_name' property supports 64 characters in a standard built but it's only 63

Поиск
Список
Период
Сортировка
От Sergei Kornilov
Тема Re: BUG #15747: Help says 'application_name' property supports 64 characters in a standard built but it's only 63
Дата
Msg-id 4898911554973124@iva6-3ac3de5fcc31.qloud-c.yandex.net
обсуждение исходный текст
Ответ на BUG #15747: Help says 'application_name' property supports 64 characters in a standard built but it's only 63  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15747: Help says 'application_name' property supports 64characters in a standard built but it's only 63  (Tobias Gierke <tobias.gierke@code-sourcery.de>)
Список pgsql-bugs
Hi

> According to
> https://www.postgresql.org/docs/current/runtime-config-logging.html
> 'application_name' can be up 64 characters long:
>
> "The application_name can be any string of less than NAMEDATALEN characters
> (64 characters in a standard build)."

Less than 64. Not "less or equals"
Doc is correct,  application_name should be less than NAMEDATALEN, so maximun possible value is NAMEDATALEN - 1
characters(well, bytes)
 

regards, Sergei



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

Предыдущее
От: r.zharkov@postgrespro.ru
Дата:
Сообщение: Re: BUG #15727: PANIC: cannot abort transaction 295144144, it wasalready committed
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: BUG #15726: parallel queries failed ERROR: invalid name syntaxCONTEXT: parallel worker