]> granicus.if.org Git - postgresql/commit
Use standard librart sqrt function in pg_stat_statements
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 28 Mar 2015 13:22:51 +0000 (09:22 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 28 Mar 2015 13:22:51 +0000 (09:22 -0400)
commitcfe12763c32437bc708a64ce88a90c7544f16185
tree62c519e8127729d9b43c536adc1296debb90318b
parent3a20b0e7b6dae48cd6be1257e9017663f1402b91
Use standard librart sqrt function in pg_stat_statements

The stddev calculation included a faster but unportable sqrt function.
This is not worth the extra effort, and won't work everywhere. If the
standard library function is good enough for the SQL function it
should be good enough here too.
contrib/pg_stat_statements/pg_stat_statements.c