Re: system views for walsender activity

Josh Berkus <josh@agliodbs.com>

From: Josh Berkus <josh@agliodbs.com>
To: pgsql-hackers@postgresql.org
Date: 2011-01-04T18:50:12Z
Lists: pgsql-hackers
> Eh... I may be showing my status as a non-normal human, but I know
> exactly what pg_stat_walsender is (it's the view that shows you the
> status of the WAL senders you've allowed by configuring
> max_wal_senders>0) but I have no idea what pg_stat_replication_sent
> and pg_stat_replication_received are supposed to be.  Why two views?
> *scratches head in confusion*

How about one view, called "pg_stat_replication"?  This would be clear
even to newbies, which none of the other view names would ...

-- 
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com