Thread: pg_stat_replication data in standy servers

pg_stat_replication data in standy servers

From
senthilnathan
Date:
Using 9.1 SR, the pg_stat_replication data's are available in Primary server.
The table is not replicated to standby server. Is it intensionally done. if
so why ?

Senthil

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/pg-stat-replication-data-in-standy-servers-tp4852870p4852870.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Re: pg_stat_replication data in standy servers

From
Simon Riggs
Date:
On Thu, Sep 29, 2011 at 1:26 PM, senthilnathan
<senthilnathan.t@gmail.com> wrote:

> Using 9.1 SR, the pg_stat_replication data's are available in Primary server.
> The table is not replicated to standby server. Is it intensionally done. if
> so why ?

pg_stat_replication is a dynamic view of a particular server, not a table.

When we have cascaded replication in 9.2, the standby's view of
pg_stat_replication will be necessarily different from the primary.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services