From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Jelte Fennema-Nio <postgres@jeltef.nl>
To: ikedarintarof <ikedarintarof@oss.nttdata.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: doc: modify the comment in function libpqrcv_check_conninfo()
Date: Mon, 8 Jul 2024 15:28:04 +0900
Message-ID: <202ec279-c307-48b9-9920-730fb1221d27@oss.nttdata.com> (raw)
In-Reply-To: <CAGECzQRPygEJr3Ed2p7QsUsBkecUa0mpiE3zMOEh5_NtvAfgRw@mail.gmail.com>
References: <6a1ca81b27fec4da0ccdfaaaec787982@oss.nttdata.com>
<CAGECzQRjJkCQ9AUQA_7kJw8c4iUwVAXPfD_VQu+-DVcd-LCT8A@mail.gmail.com>
<9c15a4b74d09348d03b02934fc429c94@oss.nttdata.com>
<CAGECzQQ+bpYVuF6GpVdc9vzHOObs5HJLmj5YohOb2d-ctmCffg@mail.gmail.com>
<c380192faada009af9aa5bfcd06e140d@oss.nttdata.com>
<CAGECzQRPygEJr3Ed2p7QsUsBkecUa0mpiE3zMOEh5_NtvAfgRw@mail.gmail.com>
On 2024/07/01 18:15, Jelte Fennema-Nio wrote:
> On Thu, 27 Jun 2024 at 12:27, ikedarintarof
> <ikedarintarof@oss.nttdata.com> 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
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-hackers@postgresql.org
Cc: masao.fujii@oss.nttdata.com, postgres@jeltef.nl, ikedarintarof@oss.nttdata.com, robertmhaas@gmail.com
Subject: Re: doc: modify the comment in function libpqrcv_check_conninfo()
In-Reply-To: <202ec279-c307-48b9-9920-730fb1221d27@oss.nttdata.com>
References: <6a1ca81b27fec4da0ccdfaaaec787982@oss.nttdata.com> <CAGECzQRjJkCQ9AUQA_7kJw8c4iUwVAXPfD_VQu+-DVcd-LCT8A@mail.gmail.com> <9c15a4b74d09348d03b02934fc429c94@oss.nttdata.com> <CAGECzQQ+bpYVuF6GpVdc9vzHOObs5HJLmj5YohOb2d-ctmCffg@mail.gmail.com> <c380192faada009af9aa5bfcd06e140d@oss.nttdata.com> <CAGECzQRPygEJr3Ed2p7QsUsBkecUa0mpiE3zMOEh5_NtvAfgRw@mail.gmail.com> <202ec279-c307-48b9-9920-730fb1221d27@oss.nttdata.com>
* 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