Patch applies and builds against git HEAD (as of 6790e738031089d5). "make check" runs cleanly as well.
The new features appear to work as advertised as far as I've been able to check. The code looks good as far as I can see. Documentation patches are included for the new features. Still to be tested: the counts for streaming replication (no replication setup here to test against yet). __________________________________________________________________________________ *Mike Blackwell | Technical Analyst, Distribution Services/Rollout Management | RR Donnelley* 1750 Wallace Ave | St Charles, IL 60174-3401 Office: 630.313.7818 mike.blackw...@rrd.com http://www.rrdonnelley.com <http://www.rrdonnelley.com/> * <mike.blackw...@rrd.com>* On Fri, Nov 8, 2013 at 9:01 AM, Nigel Heron <nhe...@querymetrics.com> wrote: > On Tue, Oct 29, 2013 at 11:26 AM, Nigel Heron <nhe...@querymetrics.com> > wrote: > >> > >> So, for now, the counters only track sockets created from an inbound > >> (client to server) connection. > > > > here's v3 of the patch (rebase and cleanup). > > > > Hi, > here's v4 of the patch. I added documentation and a new global view > called "pg_stat_socket" (includes bytes_sent, bytes_received and > stats_reset time) > > thanks, > -nigel. >