Re: doc: modify the comment in function libpqrcv_check_conninfo() - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: doc: modify the comment in function libpqrcv_check_conninfo()
Date
Msg-id CAGECzQRjJkCQ9AUQA_7kJw8c4iUwVAXPfD_VQu+-DVcd-LCT8A@mail.gmail.com
Whole thread Raw
In response to doc: modify the comment in function libpqrcv_check_conninfo()  (ikedarintarof <ikedarintarof@oss.nttdata.com>)
Responses Re: doc: modify the comment in function libpqrcv_check_conninfo()
List pgsql-hackers
On Wed, 26 Jun 2024 at 14:53, ikedarintarof
<ikedarintarof@oss.nttdata.com> wrote:
> The function 'libpqrcv_check_conninfo()' returns 'void', but the comment
> above says that the function returns true or false.
> I've attached a patch to modify the comment.

Agreed that the current comment is wrong, but the new comment should
mention the must_use_password argument. Because only if
must_use_password is true, will it throw an error.



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: [PATCH] Add ACL (Access Control List) acronym
Next
From: "David G. Johnston"
Date:
Subject: Re: Wrong security context for deferred triggers?