libpq_ping_doc_rmh.patch
application/octet-stream
Filename: libpq_ping_doc_rmh.patch
Type: application/octet-stream
Part: 0
Message:
Re: [PATCH] PQping Docs
Patch
Format: unified
| File | + | − |
|---|---|---|
| doc/src/sgml/libpq.sgml | 6 | 4 |
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index d03ec40..e36dd4b 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -648,9 +648,10 @@ PostgresPollingStatusType PQresetPoll(PGconn *conn);
<para>
<function>PQpingParams</function> reports the status of the
server. It accepts connection parameters identical to those of
- <function>PQconnectdbParams</>, described above. It is not, however,
+ <function>PQconnectdbParams</>, described above. It is not
necessary to supply correct user name, password, or database name
- values to obtain the server status.
+ values to obtain the server status; however, if incorrect values
+ are provided, the server will log a failed connection attempt.
<synopsis>
PGPing PQpingParams(const char * const *keywords,
@@ -716,9 +717,10 @@ PGPing PQpingParams(const char * const *keywords,
<para>
<function>PQping</function> reports the status of the
server. It accepts connection parameters identical to those of
- <function>PQconnectdb</>, described above. It is not, however,
+ <function>PQconnectdb</>, described above. It is not
necessary to supply correct user name, password, or database name
- values to obtain the server status.
+ values to obtain the server status; however, if incorrect values
+ are provided, the server will log a failed connection attempt.
<synopsis>
PGPing PQping(const char *conninfo);