System Catalogs / Statistics views
pg_stat_xact_user_functions
Read the PG 18 manualSimilar to pg_stat_user_functions, but counts only calls during the current transaction (which are not yet included in pg_stat_user_functions).
Reading PG 18current·documented in 17 of 24 versions, 9.1 to 20
- Kind
- Statistics views
- Columns in this snapshot
- 6
- Definition source
- English manual
- Metadata snapshot
- 18.6
Columns 6
The selected manual names this view but does not list its columns. The columns below come from the separately attributed catalog snapshot for the same version.
| Column | Type | Description / reference |
|---|---|---|
funcid | oid | OID of a function |
schemaname | name | Name of the schema this function is in |
funcname | name | Name of this function |
calls | bigint | Number of times this function has been called This view reports counters for the current transaction. |
total_time | double precision | Total time spent in this function and all other functions called by it, in milliseconds This view reports counters for the current transaction. |
self_time | double precision | Total time spent in this function itself, not including other functions called by it, in milliseconds This view reports counters for the current transaction. |
Column history across versions
Definition snapshot: english-manuals:12436a70abdb22078d164a7c72b… · English manual source