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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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