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

Commitd336747

Browse files
committed
pgbench: Correct log level of message output when socket wait method fails.
The failure of socket wait method like "select()" doesn't terminate pgbench.So the log level of error message when that failure happens should be ERROR.But previously FATAL was used in that case.Back-patch to v13 where pgbench started using common logging API.Author: Yugo Nagata, Fabien COELHOReviewed-by: Kyotaro Horiguchi, Fujii MasaoDiscussion:https://postgr.es/m/20210617005934.8bd37bf72efd5f1b38e6f482@sraoss.co.jp
1 parent070d2e1 commitd336747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pgbench/pgbench.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6784,7 +6784,7 @@ threadRun(void *arg)
67846784
continue;
67856785
}
67866786
/* must be something wrong */
6787-
pg_log_fatal("%s() failed: %m",SOCKET_WAIT_METHOD);
6787+
pg_log_error("%s() failed: %m",SOCKET_WAIT_METHOD);
67886788
gotodone;
67896789
}
67906790
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp