Updated on 2023-10-23 GMT+08:00

PG_STAT_XACT_USER_FUNCTIONS

PG_STAT_XACT_USER_FUNCTIONS contains statistics on the execution of each function.

Table 1 PG_STAT_XACT_USER_FUNCTIONS columns

Name

Type

Description

funcid

oid

OID of a function

schemaname

name

Schema name

funcname

name

Function name

calls

bigint

Number of times that the function has been called

total_time

double precision

Total time spent in the function and all other functions called by it

self_time

double precision

Total time spent in the function itself, excluding other functions called by it