[pgpool-committers: 7269] pgpool: Removing strerror() call from ereports.
Muhammad Usama
m.usama at gmail.com
Wed Nov 25 02:53:23 JST 2020
Removing strerror() call from ereports.
Call to ereport() resets the errno value and using the "strerror(errno)"
emmits the wrong error message. The right way is to use
%m format specifier instead.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=dfe27f51852225077af056a37acab8345f9977ed
Author: Muhammad Usama <m.usama at highgo.ca>
Modified Files
--------------
src/auth/pool_passwd.c | 2 +-
src/main/health_check.c | 6 ++--
src/main/main.c | 51 +++++++++++++++-----------
src/main/pgpool_logger.c | 2 +-
src/main/pgpool_main.c | 71 +++++++++++++++++++++----------------
src/pcp_con/pcp_child.c | 14 ++++----
src/pcp_con/pcp_worker.c | 10 +++---
src/protocol/child.c | 12 +++----
src/protocol/pool_connection_pool.c | 24 ++++++++-----
src/protocol/pool_process_query.c | 2 +-
src/query_cache/pool_memqcache.c | 39 ++++++++++++--------
src/utils/pool_sema.c | 16 +++++----
src/utils/pool_shmem.c | 10 +++---
src/utils/pool_stream.c | 28 +++++++--------
src/utils/socket_stream.c | 20 ++++++-----
src/watchdog/watchdog.c | 33 ++++++++---------
src/watchdog/wd_heartbeat.c | 28 +++++++--------
src/watchdog/wd_if.c | 15 ++++----
src/watchdog/wd_ipc_conn.c | 12 +++----
src/watchdog/wd_lifecheck.c | 8 +++--
src/watchdog/wd_ping.c | 11 +++---
21 files changed, 230 insertions(+), 184 deletions(-)
More information about the pgpool-committers
mailing list