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 PG 18 manual ↗

A transaction can also see its own statistics (not yet flushed out to the shared memory statistics) in the views pg_stat_xact_all_tables, pg_stat_xact_sys_tables, pg_stat_xact_user_tables, and pg_stat_xact_user_functions.

Kind
Statistics views
Columns in this snapshot
6
Definition source
English manual

Columns 6

The selected manual identifies this view but does not enumerate its columns. The columns below come from the separately attributed catalog snapshot for this 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. PG 14 → 15changed
  2. PG 9.1 → 9.2changed
  3. PG 9.0 → 9.1added

Definition snapshot: english-manuals:cdc2769f1b0f8d46cf99646728c… · English manual source