| From: | Fujii Masao <fujii(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: pgbench: Correct log level of message output when socket wait me |
| Date: | 2021-09-29 12:47:59 |
| Message-ID: | E1mVZ0B-0005zU-ER@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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 COELHO
Reviewed-by: Kyotaro Horiguchi, Fujii Masao
Discussion: https://postgr.es/m/20210617005934.8bd37bf72efd5f1b38e6f482@sraoss.co.jp
Branch
------
REL_13_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/3cc85d7d5353945bf5bdb26bb7771f40aeacaf0b
Modified Files
--------------
src/bin/pgbench/pgbench.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fujii Masao | 2021-09-29 12:48:12 | pgsql: pgbench: Correct log level of message output when socket wait me |
| Previous Message | Michael Paquier | 2021-09-29 06:30:30 | pgsql: Clarify use of "statistics objects" in the code |