[pgpool-committers: 6968] pgpool: Fix error stats.

Tatsuo Ishii ishii at sraoss.co.jp
Fri Aug 14 18:05:30 JST 2020


Fix error stats.

Error stats was only collected from Master node. It is possible that
error occurred in multiple backends (for example, in native
replication mode, INSERT is accepted by the parser but target table
does not exist).  Change the place where to collect error stats from
SimpleForwardToFrontend() to read_kind_from_backend().

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=d23f0af72058dc844940006db149ac9460414ffd

Modified Files
--------------
src/protocol/pool_process_query.c | 36 +++++++++++++++++++++++++++++++-----
1 file changed, 31 insertions(+), 5 deletions(-)



More information about the pgpool-committers mailing list