Skip site navigation (1) Skip section navigation (2)

Re: column name of pg_stat_replication.backend_start

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: column name of pg_stat_replication.backend_start
Date: 2012-04-14 12:22:56
Message-ID: CA+Tgmobtnt0RRg13heeJ+5Ekdb1BKKEFkVZNz8ej-Pcf0uNdbg@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Sat, Apr 14, 2012 at 8:00 AM, Fujii Masao <masao(dot)fujii(at)gmail(dot)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.

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

In response to

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2012-04-14 12:23:40
Subject: Re: BUG #6572: The example of SPI_execute is bogus
Previous:From: Robert HaasDate: 2012-04-14 12:08:12
Subject: Re: xlog location arithmetic

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group