"Tom Lane" <[EMAIL PROTECTED]> writes:

> "Simon Riggs" <[EMAIL PROTECTED]> 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


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to