Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group