We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 353aa01 commit fb0745fCopy full SHA for fb0745f
src/interfaces/libpq/fe-connect.c
@@ -3919,8 +3919,7 @@ internal_ping(PGconn *conn)
3919
return PQPING_NO_RESPONSE;
3920
3921
/*
3922
- * Report PQPING_REJECT if server says it's not accepting connections. (We
3923
- * distinguish this case mainly for the convenience of pg_ctl.)
+ * Report PQPING_REJECT if server says it's not accepting connections.
3924
*/
3925
if (strcmp(conn->last_sqlstate, ERRCODE_CANNOT_CONNECT_NOW) == 0)
3926
return PQPING_REJECT;
0 commit comments