Take the statistics collector out of the loop for monitoring backends'

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b13c9686d08411a284afeb881b49d7955761d8cb
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-06-19T01:51:22Z
Releases: 8.2.0
Take the statistics collector out of the loop for monitoring backends'
current commands; instead, store current-status information in shared
memory.  This substantially reduces the overhead of stats_command_string
and also ensures that pg_stat_activity is fully up to date at all times.
Per my recent proposal.

Files