Re: [PATCH] Support for pg_stat_archiver view - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [PATCH] Support for pg_stat_archiver view
Date
Msg-id CAB7nPqTkSGdx3i3Nq5tZ49Abo0oG5ZhsZ7RiGZOOx5AjjHaSDA@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Support for pg_stat_archiver view  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: [PATCH] Support for pg_stat_archiver view  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On Sat, Jan 25, 2014 at 5:41 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
> I think that it's time to rename all the variables related to pg_stat_bgwriter.
> For example, it's better to change PgStat_GlobalStats to PgStat_Bgwriter.
> I think that it's okay to make this change as separate patch, though.
Please find attached a simple patch renaming PgStat_GlobalStats to
PgStat_BgWriterStats. Its related variables and functions are renamed
as well and use the term "bgwriter" instead of "global". Comments are
updated as well. This patch also removes stats_timestamp from
PgStat_GlobalStats and uses instead a static variable in pgstat.c,
making all the structures dedicated to each component clearer.
Regards,
-- 
Michael



pgsql-hackers by date:

Previous
From: Kohei KaiGai
Date:
Subject: Re: Custom Scan APIs (Re: Custom Plan node)
Next
From: Michael Paquier
Date:
Subject: Re: [PATCH] Support for pg_stat_archiver view