[pgpool-committers: 7500] pgpool: Fix pcp_node_info() in pgpool_adm extension.

Tatsuo Ishii ishii at sraoss.co.jp
Sun Feb 14 09:48:42 JST 2021


Fix pcp_node_info() in pgpool_adm extension.

The weight info was mistakenly handled by Float8GetDatum although the
function prototype is float4. The oversight made the weight value to 0
or certain insane value. Change it to Float4GetDatum.  It is amazing
that nobody (including me) did not notice it until today.

Branch
------
V3_6_STABLE

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

Modified Files
--------------
src/sql/pgpool_adm/pgpool_adm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list