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

Tatsuo Ishii ishii at sraoss.co.jp
Sun Feb 14 09:49:01 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_2_STABLE

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

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