Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> writes:
> BTW, why the function was named pg_stat_*user*_functions ?
> even though there are no 'all' and 'sys' versions.
Well, it ignores built-in functions. Naming the view that way seems
like good future-proofing to me --- maybe someday we'll think of a
sufficiently low-overhead way to offer stats for system functions too.
regards, tom lane