From: Robert Haas Date: Thu, 5 Apr 2012 15:50:06 +0000 (-0400) Subject: Correctly explain units used by function-timing stats functions. X-Git-Tag: REL9_2_BETA1~186 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97e26dc66d47624bdbdee1dbd007a0f4212defcb;p=postgresql Correctly explain units used by function-timing stats functions. The views are in milliseconds, but the raw functions return microseconds. --- diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 013dd335a4..ed8aeb20c6 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -1654,7 +1654,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS pid, bigint Total time spent in this functions and all other functions called by it, in milliseconds. - This value can also be returned by directly calling + The same value can be returned in microseconds by directly calling the pg_stat_get_function_time function. @@ -1662,7 +1662,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS pid, bigint Total time spent in this functions itself but not including other functions called by it, in milliseconds. - This value can also be returned by directly calling + The same value can be returned in microseconds by directly calling the pg_stat_get_function_self_time function.