Re: Configurable Additional Stats

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Configurable Additional Stats
Date: 2007-06-29 15:02:41
Message-ID: 12987.1183129361@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Simon Riggs" <simon(at)2ndquadrant(dot)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?
Not send more info to the stats collector, because the message format
is predetermined. AFAICS, if you want to extend the set of stats
collected, you need much more invasive changes than this, and are
really going to have to resort to changing the server source code.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-06-29 15:13:48 Re: SetBufferCommitInfoNeedsSave and race conditions
Previous Message Tom Lane 2007-06-29 14:57:43 Re: pg_dump and minor versions