[pgpool-committers: 7326] pgpool: Removing strerror() call from ereports.
Muhammad Usama
m.usama at gmail.com
Tue Dec 15 17:40:39 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
------
V4_1_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=c1740fec50fe1f7946b9d6835d0f938715a84632
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_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 | 49 +++++++++++++------------
src/watchdog/watchdog.c | 33 ++++++++---------
src/watchdog/wd_commands.c | 13 +++----
src/watchdog/wd_heartbeat.c | 28 +++++++--------
src/watchdog/wd_if.c | 15 ++++----
src/watchdog/wd_lifecheck.c | 8 +++--
src/watchdog/wd_ping.c | 11 +++---
19 files changed, 231 insertions(+), 183 deletions(-)
More information about the pgpool-committers
mailing list