Re: pg_stat_user_functions' notion of user - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: pg_stat_user_functions' notion of user
Date
Msg-id 4C5AFBC6.1020707@agliodbs.com
Whole thread Raw
In response to pg_stat_user_functions' notion of user  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On 8/5/10 6:58 AM, Peter Eisentraut wrote:
> pg_stat_user_functions has an inconsistent notion of what "user" is.
> Whereas the other pg_stat_user_* views filter out non-user objects by
> schema, pg_stat_user_functions checks for language "internal", which
> does not successfully exclude builtin functions of language SQL.  Is
> there a reason for this inconsistency?

Undoubtedly because function data collection already filters on function
language, per the GUC setting.  Not that that is a *good* reason, but I
can see how we arrived a the current functionality.

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Performance Enhancement/Fix for Array Utility Functions
Next
From: Robert Haas
Date:
Subject: Re: Two different methods of sneaking non-immutable data into an index