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

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

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

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