Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rXkzS-00CUNQ-Jc for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Feb 2024 16:41:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rXkyT-00C0rZ-AV for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Feb 2024 16:40:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rXkyS-00C0rQ-Sc for pgsql-hackers@lists.postgresql.org; Wed, 07 Feb 2024 16:40:37 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rXkyP-005yYf-LB for pgsql-hackers@postgresql.org; Wed, 07 Feb 2024 16:40:35 +0000 Received: from [192.168.0.104] (unknown [62.217.189.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: p.luzanov@postgrespro.ru) by mail.postgrespro.ru (Postfix/587) with ESMTPSA id 5F5D8E210A0; Wed, 7 Feb 2024 19:40:31 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1707324031; bh=BpcPeAg2F2EE9rv1KmTfUdh0MPrvxyx0UPpHmMHKe/Y=; h=Message-ID:Date:User-Agent:Subject:To:Cc:References:From: In-Reply-To:From; b=2yoF6nRD6sQ1MCABXJv27SEdr0EaGSjz8sPNisvCaEZD8h3kBvuOSyz2sWzNYkybX mEg6gDQPrENLfSz2bmXktYDB+tVC2ZcAM5snma9jyPbrKgRXcJbfwCn7a85rvrwg6j n+X0BXVsu2NX0sS56BkWaplX/ruZToj7TK9i8Y2Dc+nAmVcmtxpfFJJtie7YWgUsbr DxZr73QUfndYnGTwjEgafkftK9RetpIgFuwM5ZxiBw2bZTDIK5o6ixoJTVDDtl/RxZ bcYJmKO5ARFN27/ghGQXaLjFf7RmA1+Ko5KOtJXwJIA3V166/ehr9rbukONkU4+IXK 9der+jOVuj68g== Content-Type: multipart/alternative; boundary="------------Zn9CqPySj9IDvx0RWDkbMGR9" Message-ID: Date: Wed, 7 Feb 2024 19:40:28 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Psql meta-command conninfo+ Content-Language: en-US, ru-RU To: Maiquel Grassi , Nathan Bossart Cc: Erik Wienhold , "pgsql-hackers@postgresql.org" References: <20240206181919.GA3853632@nathanxps13> <20240206210605.GA3903769@nathanxps13> <20240206211205.GA3903996@nathanxps13> <20240206215022.GA3452@nathanxps13> <852cabef-f596-4826-9a54-d3f75d9a6cc8@postgrespro.ru> From: Pavel Luzanov In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------Zn9CqPySj9IDvx0RWDkbMGR9 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi,Maiquel! On 07.02.2024 17:47, Maiquel Grassi wrote: > "Also, it seems that the verbose parameter in the > listConnectionInformation is unnecessary." Could you point out exactly > the line or code snippet you are referring to? +bool +listConnectionInformation(const char *pattern,*bool verbose*) I mean that parameter verbose is not used in the function body and listConnectionInformation called only in verbose mode. -- Pavel Luzanov Postgres Professional:https://postgrespro.com --------------Zn9CqPySj9IDvx0RWDkbMGR9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Hi, Maiquel!

On 07.02.2024 17:47, Maiquel Grassi wrote:
"Also, it seems that the verbose parameter in the listConnectionInformation is unnecessary." Could you point out exactly the line or code snippet you are referring to?
+bool
+listConnectionInformation(const char *pattern, bool verbose)

I mean that parameter verbose is not used in the function body and listConnectionInformation called only in verbose mode.
-- 
Pavel Luzanov
Postgres Professional: https://postgrespro.com
--------------Zn9CqPySj9IDvx0RWDkbMGR9--