Re: column name of pg_stat_replication.backend_start - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: column name of pg_stat_replication.backend_start
Date
Msg-id CABUevExWB1CE+qf7zbwkd0TC_7nRWzOG-6P1EetxocV72isFiQ@mail.gmail.com
Whole thread Raw
In response to Re: column name of pg_stat_replication.backend_start  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: column name of pg_stat_replication.backend_start  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Sat, Apr 14, 2012 at 14:22, Robert Haas <robertmhaas@gmail.com> wrote:
> On Sat, Apr 14, 2012 at 8:00 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> The column name of pg_stat_replication.backend_start is confusing because
>> it's not the time when *backend* was started at all. We should rename it to
>> "walsender_start" or "replication_start"?
>
> walsenders are backends, of course.  I think that any clarity we'd get
> from renaming this would be not worth the loss of backward
> compatibility or the inconsistency with pg_stat_activity.

There was a suggestion the other day I think from Bruce to rename it
to session_start in pg_stat_activity. If we do that, we should
probably rename it in pg_stat_replication *as well*, of course...

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Memory usage during sorting
Next
From: Peter Geoghegan
Date:
Subject: Re: Memory usage during sorting