track_functions

A server parameter determining whether function execution should be tracked

track_functions is a server parameter determining whether function execution should be tracked.

track_functions was added in PostgreSQL 8.4.

Usage

track_functions must be set to one of the following values to track function execution:

  • pl - track only procedural language functions
  • all - track all functions, including C and SQL functions.

Statistics about function execution can be retrieved from the view pg_stat_user_functions.

Default value

The default value for track_functions is: none.

Change history

Categories

GUC configuration item, Monitoring, Server statistics

See also

pg_stat_user_functions