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 1sQhsA-00BER0-7T for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Jul 2024 06:29:14 +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 1sQhrA-002LUM-6o for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Jul 2024 06:28:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sQhr9-002LTB-St for pgsql-hackers@lists.postgresql.org; Mon, 08 Jul 2024 06:28:11 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sQhr6-000y5t-SX for pgsql-hackers@postgresql.org; Mon, 08 Jul 2024 06:28:10 +0000 Received: from [192.168.11.3] (p3785171-ipxg13301funabasi.chiba.ocn.ne.jp [118.0.150.171]) by oss.nttdata.com (Postfix) with ESMTPSA id E0F286097B; Mon, 8 Jul 2024 15:28:04 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at oss.nttdata.com Message-ID: <202ec279-c307-48b9-9920-730fb1221d27@oss.nttdata.com> Date: Mon, 8 Jul 2024 15:28:04 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: doc: modify the comment in function libpqrcv_check_conninfo() To: Jelte Fennema-Nio , ikedarintarof , Robert Haas Cc: pgsql-hackers@postgresql.org References: <6a1ca81b27fec4da0ccdfaaaec787982@oss.nttdata.com> <9c15a4b74d09348d03b02934fc429c94@oss.nttdata.com> Content-Language: en-US From: Fujii Masao In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024/07/01 18:15, Jelte Fennema-Nio wrote: > On Thu, 27 Jun 2024 at 12:27, ikedarintarof > wrote: >> Thanks for your suggestion. I used ChatGPT to choose the wording, but >> it's still difficult for me. > > Looks good to me now (but obviously biased since you took my wording). LGTM, too. * Validate connection info string, and determine whether it might cause * local filesystem access to be attempted. The later part of the above comment for libpqrcv_check_conninfo() seems unclear. My understanding is that if must_use_password is true and this function completes without error, the password must be in the connection string, so there's no need to read the .pgpass file (i.e., no local filesystem access). That part seems to be trying to explaing something like that. Is this correct? Anyway, wouldn't it be better to either remove this unclear part or rephrase it for clarity? Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION