Re: Procedure calls are not tracked in pg_stat_user_functions / track_functions

2018-10-08 Thread Peter Eisentraut
On 05/10/2018 14:15, Peter Eisentraut wrote: > On 04/10/2018 22:07, Andres Freund wrote: >> On 2018-10-04 12:15:28 -0700, Lukas Fittl wrote: >>> Was this intentional, or an oversight? >>> >>> If welcome, I would be happy to work on a patch. Whilst slightly confusing >>> in terms of naming, we could

Re: Procedure calls are not tracked in pg_stat_user_functions / track_functions

2018-10-05 Thread Peter Eisentraut
On 04/10/2018 22:07, Andres Freund wrote: > On 2018-10-04 12:15:28 -0700, Lukas Fittl wrote: >> Was this intentional, or an oversight? >> >> If welcome, I would be happy to work on a patch. Whilst slightly confusing >> in terms of naming, we could just track this together with functions, since >> o

Re: Procedure calls are not tracked in pg_stat_user_functions / track_functions

2018-10-04 Thread Andres Freund
Hi, On 2018-10-04 12:15:28 -0700, Lukas Fittl wrote: > Hi all, > > It seems that currently procedures do not get tracked when track_functions > is enabled, which means one needs to resort to other workarounds in order > to monitor procedure calls/runtime. > > To illustrate: > > =# SHOW track_fu

Procedure calls are not tracked in pg_stat_user_functions / track_functions

2018-10-04 Thread Lukas Fittl
Hi all, It seems that currently procedures do not get tracked when track_functions is enabled, which means one needs to resort to other workarounds in order to monitor procedure calls/runtime. To illustrate: =# SHOW track_functions; ┌─┐ │ track_functions │ ├─┤ │ a