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: (view raw, whole thread or download thread mbox)
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


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-2017 The PostgreSQL Global Development Group