↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / System Catalogs

pg_stat_xact_user_functions

Similar to pg_stat_user_functions, but counts only calls during the current transaction (which are not yet included in pg_stat_user_functions).

English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

columns not enumerated
true
derived from
pg_stat_user_functions
kind
statistics
lang
en
measured attributes
true
metadata release
18.6
runtime columns
funcid, schemaname, funcname, calls, total_time, self_time
runtime verified
false
source
english-manual

Definition PG 18

Similar to pg_stat_user_functions, but counts only calls during the current transaction (which are not yet included in pg_stat_user_functions).

Catalog columns

ColumnTypeNullabilityDescription
funcidoidNullableOID of a function
schemanamenameNullableName of the schema this function is in
funcnamenameNullableName of this function
callsbigintNullableNumber of times this function has been called This view reports counters for the current transaction.
total_timedouble precisionNullableTotal time spent in this function and all other functions called by it, in milliseconds This view reports counters for the current transaction.
self_timedouble precisionNullableTotal time spent in this function itself, not including other functions called by it, in milliseconds This view reports counters for the current transaction.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · catalog-bilingual-repair:1460dae275cd111d54c249e9f76aeaad945e545a26fe18e616e04b3782777dc8

Text language: en · catalog-bilingual-repair:1460dae275cd111d54c249e9f76aeaad945e545a26fe18e616e04b3782777dc8