pgsql: Fix portability issues with stddev in pg_stat_statements - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Fix portability issues with stddev in pg_stat_statements
Date
Msg-id E1Ybbsw-0001i4-La@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix portability issues with stddev in pg_stat_statements

Stddev is calculated on the fly, and the code in commit 717f70953264 was
using Float8GetDatumFast() inappropriately to convert the result to a
Datum. Mea culpa. It now uses Float8GetDatum().

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/735cd6128a6a401671126443a9af4324932a38d6

Modified Files
--------------
contrib/pg_stat_statements/pg_stat_statements.c |    7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Add stats for min, max, mean, stddev times to pg_stat_statements
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Add index-only scan support to btree_gist.