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

Tatsuo Ishii ishii at sraoss.co.jp
Sun Feb 14 09:48:51 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
------
V4_0_STABLE

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

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