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