[pgpool-committers: 7505] pgpool: Fix pcp_node_info() in pgpool_adm extension.
Tatsuo Ishii
ishii at sraoss.co.jp
Sun Feb 14 09:49:06 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
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=caf5215479ee7a5b55c1dcdeb00a2fccf0ed7133
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