标签:
修改配置文件postgres.conf
track_functions = all # none, pl, all
postgres=# select * from pg_stat_user_functions ; funcid | schemaname | funcname | calls | total_time | self_time --------+------------+----------+-------+------------+----------- (0 rows)
修改完成后,重启数据库,就会有数据了。
How to get table pg_stat_user_functions.
标签:
原文地址:http://www.cnblogs.com/sangli/p/4974584.html