Re: Configurable Additional Stats - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: Configurable Additional Stats
Date
Msg-id 87ejjumz5x.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: Configurable Additional Stats  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Configurable Additional Stats
List pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

> "Simon Riggs" <simon@2ndquadrant.com> writes:
>> if (stats_hook)
>>     (* stats_hook)(pgStatTabList);
>
>> Any objections to sliding this in?
>
> Only that it's useless.  What are you going to do in such a hook?

Simon left for camping before you sent this. My understanding is he wants to
gather the data elsewhere. So either he'll just elog when it and grovel the
logs or send it via some other method. Alternatively he could aggregate the
data himself and save it in a file kind of gprof-style.

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: [Pgbuildfarm-members] time to play ...
Next
From: David Fetter
Date:
Subject: Re: [Pgbuildfarm-members] time to play ...