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