Re: [GENERAL] Fwd: Functions not visible in pg_stat_user_functions view

2013-01-30 Thread Bartosz Dmytrak
2013/1/30 Albe Laurenz > The most likely explanation for what you observe is that > the functions have never been called since track_functions > has been set to "all". > > You can see if that is indeed the reason by calling one > of your "invisible" functions and see if it becomes > visible after

Re: [GENERAL] Fwd: Functions not visible in pg_stat_user_functions view

2013-01-30 Thread Albe Laurenz
Bartosz Dmytrak wrote: > and this is strange for me. > I have few DBs with the same function (copy -> paste), in one DB they are > tracked (visible in > pg_stat_user_functions) in other not. In DB where some functions are not > tracked, others are visible - > no issue. I cannot find any logical c

Re: [GENERAL] Fwd: Functions not visible in pg_stat_user_functions view

2013-01-29 Thread Bartosz Dmytrak
2013/1/29 Adrian Klaver > >> Are they never tracked or just sometimes? > Is it particular functions or random? > > > and this is strange for me. I have few DBs with the same function (copy -> paste), in one DB they are tracked (visible in pg_stat_user_functions) in other not. In DB where some fun

Re: [GENERAL] Fwd: Functions not visible in pg_stat_user_functions view

2013-01-29 Thread Adrian Klaver
On 01/29/2013 07:36 AM, Bartosz Dmytrak wrote: 2013/1/29 Adrian Klaver mailto:adrian.kla...@gmail.com>> Not quite sure what you are asking. I am asking for info why not all functions are tracked. "All" - I mean plpgsql functions. Just like I said before, I am aware not all functions all

Re: [GENERAL] Fwd: Functions not visible in pg_stat_user_functions view

2013-01-29 Thread Bartosz Dmytrak
2013/1/29 Adrian Klaver > > Not quite sure what you are asking. I am asking for info why not all functions are tracked. "All" - I mean plpgsql functions. Just like I said before, I am aware not all functions all tracked but my functions (written in plpgsql) should be. Regards, Bartek

Re: [GENERAL] Fwd: Functions not visible in pg_stat_user_functions view

2013-01-29 Thread Adrian Klaver
On 01/29/2013 03:50 AM, Bartosz Dmytrak wrote: Hi all, Does anyone have an idea why it works like this? Not quite sure what you are asking. On the assumption that functions are not showing up in the view, have you checked: http://www.postgresql.org/docs/9.2/static/runtime-config-statistics.h

[GENERAL] Fwd: Functions not visible in pg_stat_user_functions view

2013-01-29 Thread Bartosz Dmytrak
Hi all, Does anyone have an idea why it works like this? Regards, Bartek