Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb0745f

Browse files
committed
Fix comment in fe-connect.c about PQping and pg_ctl
Sincef13ea95, pg_ctl does not use PQping(), but one comment did notget the call.Author: Euler TaveiraDiscussion:https://postgr.es/m/4b1deb4a-2771-416d-9710-ccd2fa66f058@www.fastmail.com
1 parent353aa01 commitfb0745f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/interfaces/libpq/fe-connect.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3919,8 +3919,7 @@ internal_ping(PGconn *conn)
39193919
returnPQPING_NO_RESPONSE;
39203920

39213921
/*
3922-
* Report PQPING_REJECT if server says it's not accepting connections. (We
3923-
* distinguish this case mainly for the convenience of pg_ctl.)
3922+
* Report PQPING_REJECT if server says it's not accepting connections.
39243923
*/
39253924
if (strcmp(conn->last_sqlstate,ERRCODE_CANNOT_CONNECT_NOW)==0)
39263925
returnPQPING_REJECT;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp