Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEVdw-0001m9-2h for pgsql-bugs@arkaria.postgresql.org; Thu, 11 Apr 2019 09:05:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hEVdu-0001l3-Mw for pgsql-bugs@arkaria.postgresql.org; Thu, 11 Apr 2019 09:05:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEVdu-0001kw-Fi for pgsql-bugs@lists.postgresql.org; Thu, 11 Apr 2019 09:05:10 +0000 Received: from mail2.code-sourcery.de ([138.201.66.53]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEVdr-0007sk-Np for pgsql-bugs@lists.postgresql.org; Thu, 11 Apr 2019 09:05:10 +0000 Received: from lxtobi.voipfuture.com (unknown [213.238.34.194]) by mail2.code-sourcery.de (Postfix) with ESMTPSA id 883591FC85; Thu, 11 Apr 2019 11:05:06 +0200 (CEST) Subject: Re: BUG #15747: Help says 'application_name' property supports 64 characters in a standard built but it's only 63 To: Sergei Kornilov , "pgsql-bugs@lists.postgresql.org" References: <15747-b6b8a12dcc12790b@postgresql.org> <4898911554973124@iva6-3ac3de5fcc31.qloud-c.yandex.net> From: Tobias Gierke Message-ID: <65402b7b-b52d-3d4b-48b3-0979f92c5532@code-sourcery.de> Date: Thu, 11 Apr 2019 11:05:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <4898911554973124@iva6-3ac3de5fcc31.qloud-c.yandex.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Sergei, Of course you're right. Sorry for the noise. Cheers, Tobias > 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