↑↓ select ↵ open ⌫ change scope Open full search

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

System Catalogs / Statistics views

pg_stat_xact_user_functions

Read the PG 18 manual

Similar 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.

ColumnTypeDescription / reference
funcidoidOID of a function
schemanamenameName of the schema this function is in
funcnamenameName of this function
callsbigintNumber of times this function has been called This view reports counters for the current transaction.
total_timedouble precisionTotal time spent in this function and all other functions called by it, in milliseconds This view reports counters for the current transaction.
self_timedouble precisionTotal 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
Version history 3
  1. 19 → 20 columns not listed
  2. 9.1 → 9.2 changed
  3. 9.0 → 9.1 added

Definition snapshot: english-manuals:12436a70abdb22078d164a7c72b… · English manual source