]> granicus.if.org Git - postgresql/commit
Add stats for min, max, mean, stddev times to pg_stat_statements.
authorAndrew Dunstan <andrew@dunslane.net>
Fri, 27 Mar 2015 19:43:22 +0000 (15:43 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Fri, 27 Mar 2015 19:43:22 +0000 (15:43 -0400)
commit717f709532642f5f7756785c9be17b7ffcec8ae8
tree073e0996e1136c12440ae4eced0e48a3dc778a90
parent8816af65e4f8285d3ef73158b09490099921f870
Add stats for min, max, mean, stddev times to pg_stat_statements.

The new fields are min_time, max_time, mean_time and stddev_time.

Based on an original patch from Mitsumasa KONDO, modified by me. Reviewed by Petr JelĂ­nek.
contrib/pg_stat_statements/Makefile
contrib/pg_stat_statements/pg_stat_statements--1.2--1.3.sql [new file with mode: 0644]
contrib/pg_stat_statements/pg_stat_statements--1.3.sql [moved from contrib/pg_stat_statements/pg_stat_statements--1.2.sql with 84% similarity]
contrib/pg_stat_statements/pg_stat_statements.c
contrib/pg_stat_statements/pg_stat_statements.control
doc/src/sgml/pgstatstatements.sgml