pgsql: Fix portability issues with stddev in pg_stat_statements

Started by Andrew Dunstanover 11 years ago1 messagescomitters
Jump to latest
#1Andrew Dunstan
andrew@dunslane.net

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(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers