diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-01-07 16:05:31 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-01-07 16:05:31 +0900 |
commit | fb0745fa0d706d1519d6e55e93d1dcae27e12e4d (patch) | |
tree | 1cd2c648d69644937de10dfb84bb901001c16260 /src | |
parent | 353aa01687b5dd582debdfe63871498cd522cbbd (diff) | |
download | postgresql-fb0745fa0d706d1519d6e55e93d1dcae27e12e4d.tar.gz postgresql-fb0745fa0d706d1519d6e55e93d1dcae27e12e4d.zip |
Fix comment in fe-connect.c about PQping and pg_ctl
Since f13ea95f, pg_ctl does not use PQping(), but one comment did not
get the call.
Author: Euler Taveira
Discussion: https://postgr.es/m/4b1deb4a-2771-416d-9710-ccd2fa66f058@www.fastmail.com
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 9b6a6939f07..dfebfd10968 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -3919,8 +3919,7 @@ internal_ping(PGconn *conn) return PQPING_NO_RESPONSE; /* - * Report PQPING_REJECT if server says it's not accepting connections. (We - * distinguish this case mainly for the convenience of pg_ctl.) + * Report PQPING_REJECT if server says it's not accepting connections. */ if (strcmp(conn->last_sqlstate, ERRCODE_CANNOT_CONNECT_NOW) == 0) return PQPING_REJECT; |