From: | 周志勤 <joe(dot)zhou(at)dualhelios(dot)com> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Re: Mismatch for connection key/value pair between documentation and code? |
Date: | 2024-07-17 01:20:49 |
Message-ID: | EB76814E921479DE+202407170918484697461@dualhelios.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
Hi David,
Thanks for your clarification.
Best regards,
Joe
joe(dot)zhou(at)dualhelios(dot)com
From: David G. Johnston
Date: 2024-07-16 22:20
To: joe(dot)zhou(at)dualhelios(dot)com; pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Mismatch for connection key/value pair between documentation and code?
On Monday, July 15, 2024, PG Doc comments form <noreply(at)postgresql(dot)org> wrote:
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/16/libpq-connect.html
Description:
For the following document regarding connect string, it is not aligned with
the code.
https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING
e.g. Timeout for connection
"connect_timeout
Maximum time to wait while connecting, in seconds (write as a decimal
integer, e.g., 10).
However in the code:
https://github.com/npgsql/npgsql/blob/docs/src/Npgsql/NpgsqlConnectionStringBuilder.cs,
starting L789 to L812 (latest version when I raise this ticket).
The name is Timeout instead of connect_timeout, and there's no logic
regarding 2 second check
Probably this third-party module is not using the libpq API. Or at minimum not that aspect of the API.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Василий Лебедев | 2024-07-17 06:17:08 | Re: 13.2.1. Read Committed Isolation Level |
Previous Message | David G. Johnston | 2024-07-16 15:37:51 | Re: 13.2.1. Read Committed Isolation Level |