pgsql: Fix comment in libpqrcv_check_conninfo().

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix comment in libpqrcv_check_conninfo().
Date: 2024-07-09 12:31:28
Message-ID: E1sRA0G-000zCJ-M8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix comment in libpqrcv_check_conninfo().

Previously, the comment incorrectly stated that libpqrcv_check_conninfo()
returns true or false based on the connection string check.
However, this function actually has a void return type and
raises an error if the check fails.

Author: Rintaro Ikeda
Reviewed-by: Jelte Fennema-Nio, Fujii Masao
Discussion: https://postgr.es/m/6a1ca81b27fec4da0ccdfaaaec787982@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/629520be5f9da9d0192c7f6c8796bfddb4746760

Modified Files
--------------
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2024-07-09 13:42:52 pgsql: Unrevert "Force nodes for SSL tests to start in TCP mode"
Previous Message Dean Rasheed 2024-07-09 09:03:33 pgsql: Optimise numeric multiplication for short inputs.