Configurable Additional Stats - Mailing list pgsql-hackers

From Simon Riggs
Subject Configurable Additional Stats
Date
Msg-id 1183119038.3589.87.camel@silverbirch.site
Whole thread Raw
Responses Re: Configurable Additional Stats  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I've got a requirement to produce some additional stats from the server
while it executes. Specifically, I'm looking at table interaction stats
to make it easier to determine replication sets accurately for a given
transaction mix.

On brief discussion, seems like a good approach would be to put in a
user exit/plugin/hook in AtEOXact_PgStat(). That way we don't need to
add more log_* parameters for this and every additional need.

Something like this...

if (stats_hook)(* stats_hook)(pgStatTabList);

Any objections to sliding this in?

BTW, do we have a section in the docs on what plugin points are now
available? 

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [PATCHES] Doc update for pg_start_backup
Next
From: Theo Schlossnagle
Date:
Subject: Re: [PATCHES] Doc update for pg_start_backup