Re: pg_stat_replication vs StandbyReplyMessage - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pg_stat_replication vs StandbyReplyMessage
Date
Msg-id CA+TgmoZ39FvwbVQGAusNx_Mv=yqOr_UFuFnMorNYNvxPaxkOeA@mail.gmail.com
Whole thread Raw
In response to Re: pg_stat_replication vs StandbyReplyMessage  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: pg_stat_replication vs StandbyReplyMessage
List pgsql-hackers
On Tue, Aug 16, 2011 at 8:54 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
> On Tue, Aug 16, 2011 at 10:51 AM, Magnus Hagander <magnus@hagander.net> wrote:
>> On Mon, Aug 15, 2011 at 13:50, Robert Haas <robertmhaas@gmail.com> wrote:
>>> On Mon, Aug 15, 2011 at 7:03 AM, Magnus Hagander <magnus@hagander.net> wrote:
>>>> The pg_stat_replication view exposes all the fields in
>>>> StandbyReplyMessage *except* for the timestamp when the message was
>>>> generated. On an active system this is not all that interesting, but
>>>> on a mostly idle system that allows the monitoring to react faster
>>>> than the timeout that actually kicks the other end off - and could be
>>>> useful in manual debugging scenarios. Any particular reason why this
>>>> was not exposed as it's own column?
>>>
>>> I wondered the same thing.  Sounds like a good idea.
>>
>> I can go do that. Care to argue^Wbikeshed for a specific name?
>
> reply_timestamp

Works for me.  I'd suggest that we rename it that way in
StandbyReplyMessage, so that the name in the struct and the name in
the system view match.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Some problems about cascading replication
Next
From: Robert Haas
Date:
Subject: Re: Re: Should we have an optional limit on the recursion depth of recursive CTEs?