]> granicus.if.org Git - postgresql/commit
Fix portability issues with stddev in pg_stat_statements
authorAndrew Dunstan <andrew@dunslane.net>
Fri, 27 Mar 2015 21:29:59 +0000 (17:29 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Fri, 27 Mar 2015 21:29:59 +0000 (17:29 -0400)
commit735cd6128a6a401671126443a9af4324932a38d6
tree327b717c32da0ed036b719c31c32f70052e27eb8
parent717f709532642f5f7756785c9be17b7ffcec8ae8
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().
contrib/pg_stat_statements/pg_stat_statements.c