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

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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not

Reply via email to