Re: [PATCH] Support for pg_stat_archiver view
| От | Michael Paquier |
|---|---|
| Тема | Re: [PATCH] Support for pg_stat_archiver view |
| Дата | |
| Msg-id | CAB7nPqTkSGdx3i3Nq5tZ49Abo0oG5ZhsZ7RiGZOOx5AjjHaSDA@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: [PATCH] Support for pg_stat_archiver view (Fujii Masao <masao.fujii@gmail.com>) |
| Ответы |
Re: [PATCH] Support for pg_stat_archiver view
|
| Список | 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 по дате отправления: