pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tobias Gierke <tobias.gierke@code-sourcery.de>
To: Sergei Kornilov <sk@zsrv.org>
To: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15747: Help says 'application_name' property supports 64 characters in a standard built but it's only 63
Date: Thu, 11 Apr 2019 11:05:06 +0200
Message-ID: <65402b7b-b52d-3d4b-48b3-0979f92c5532@code-sourcery.de> (raw)
In-Reply-To: <4898911554973124@iva6-3ac3de5fcc31.qloud-c.yandex.net>
References: <15747-b6b8a12dcc12790b@postgresql.org>
	<4898911554973124@iva6-3ac3de5fcc31.qloud-c.yandex.net>

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





view thread (3+ messages)

Message-ID: <65402b7b-b52d-3d4b-48b3-0979f92c5532@code-sourcery.de>
Permalink:  ../65402b7b-b52d-3d4b-48b3-0979f92c5532@code-sourcery.de/
Also on:    postgresql.org/message-id/65402b7b-b52d-3d4b-48b3-0979f92c5532@code-sourcery.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tobias.gierke@code-sourcery.de, sk@zsrv.org
  Subject: Re: BUG #15747: Help says 'application_name' property supports 64 characters in a standard built but it's only 63
  In-Reply-To: <65402b7b-b52d-3d4b-48b3-0979f92c5532@code-sourcery.de>
  References: <15747-b6b8a12dcc12790b@postgresql.org> <4898911554973124@iva6-3ac3de5fcc31.qloud-c.yandex.net> <65402b7b-b52d-3d4b-48b3-0979f92c5532@code-sourcery.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox