Re: system views for walsender activity

From: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: system views for walsender activity
Date: 2011-01-07 13:09:35
Message-ID: AANLkTinOnBeo54bwRKn5KVBkDM3p_L2yDt_LOd1cwOJA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jan 7, 2011 at 21:48, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>>  * pg_stat_replication
>>  * pg_stat_standby (not yet)
>
> Just to keep the bikeshedding up, should it in this case not be
> pg_stat_replication_master and pg_stat_replication_standby or such?
> Replication applies to both master and slave...

The reason I didn't use term "master" is that pg_stat_replication is
information of *standby* servers on master server. Of course,
wal senders are processes in the master, but users probably think
they are the location standby servers receives.

I forgot to update SGML for the view. I'll do it soon.
Thanks for the heads-up.

--
Itagaki Takahiro

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-01-07 13:16:33 LOCK for non-tables
Previous Message Magnus Hagander 2011-01-07 12:49:08 Re: pgsql: New system view pg_stat_replication displays activity of wal sen