diff options
author | Robert Haas | 2013-01-23 16:05:15 +0000 |
---|---|---|
committer | Robert Haas | 2013-01-23 16:05:15 +0000 |
commit | 40ed59b2867fff9b1b4470e430c2d66732a05c2c (patch) | |
tree | 06e29f3064f3d84e2e543eadcd615bd91a6ed01a /doc/src | |
parent | ac2e9673622591319d107272747a02d2c7f343bd (diff) |
Clarify that connection parameters aren't totally meaningless for PQping.
Per discussion with Phil Sorber.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/libpq.sgml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index d03ec40e333..e36dd4b1d12 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); |