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

Commitbc03c59

Browse files
committed
Adjust error message, now that we expect other message types than connection
close at this point. Fix PQsetnonblocking() comment.Fujii Masao
1 parentf564e65 commitbc03c59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/replication/walsender.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ ProcessRepliesIfAny(void)
506506
default:
507507
ereport(FATAL,
508508
(errcode(ERRCODE_PROTOCOL_VIOLATION),
509-
errmsg("invalid standbyclosingmessage type %d",
509+
errmsg("invalid standby message type %d",
510510
firstchar)));
511511
}
512512
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2869,7 +2869,7 @@ PQparamtype(const PGresult *res, int param_num)
28692869

28702870
/* PQsetnonblocking:
28712871
*sets the PGconn's database connection non-blocking if the arg is TRUE
2872-
*or makes itnon-blocking if the arg is FALSE, this will not protect
2872+
*or makes it blocking if the arg is FALSE, this will not protect
28732873
*you from PQexec(), you'll only be safe when using the non-blocking API.
28742874
*Needs to be called only on a connected database connection.
28752875
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp