mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Correctly explain units used by function-timing stats functions.
The views are in milliseconds, but the raw functions return microseconds.
This commit is contained in:
@ -1654,7 +1654,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS pid,
|
|||||||
<entry><type>bigint</></entry>
|
<entry><type>bigint</></entry>
|
||||||
<entry>Total time spent in this functions and all other functions
|
<entry>Total time spent in this functions and all other functions
|
||||||
called by it, in milliseconds.
|
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 <function>pg_stat_get_function_time</function> function.</entry>
|
the <function>pg_stat_get_function_time</function> function.</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@ -1662,7 +1662,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS pid,
|
|||||||
<entry><type>bigint</></entry>
|
<entry><type>bigint</></entry>
|
||||||
<entry>Total time spent in this functions itself but not including
|
<entry>Total time spent in this functions itself but not including
|
||||||
other functions called by it, in milliseconds.
|
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 <function>pg_stat_get_function_self_time</function> function.</entry>
|
the <function>pg_stat_get_function_self_time</function> function.</entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Reference in New Issue
Block a user