Re: [PATCH] Add features to pg_stat_statements

Поиск
Список
Период
Сортировка
От Yuki Seino
Тема Re: [PATCH] Add features to pg_stat_statements
Дата
Msg-id 160250511275.1171.7692218521107860164.pgcf@coridan.postgresql.org
обсуждение исходный текст
Ответ на Re: [PATCH] Add features to pg_stat_statements  (Katsuragi Yuta <btkatsuragiyu@oss.nttdata.com>)
Ответы Re: [PATCH] Add features to pg_stat_statements  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список pgsql-hackers
The following review has been posted through the commitfest application:
make installcheck-world:  tested, passed
Implements feature:       tested, passed
Spec compliant:           tested, passed
Documentation:            tested, passed

The patch applies cleanly and looks fine to me. It's a small detail, However wouldn't it be better if the following
changeswere made.
 

1.There are unnecessary difference lines 707 and 863 in "pg_stat_statements.c".
2.There is no comment on "slock_t mutex" in "struct pgssCtlCounter" in "pg_stat_statements.c".
3."update_ctl" and "reset_ctl" are generic and illegible name.You might want to rename it something like
"pgss_ctl_update".
4.To improve the readability of the source, why not change the function declaration option in "pg_stat_statements_ctl"
from
 
"AS 'MODULE_PATHNAME'" to "AS 'MODULE_PATHNAME', 'pg_stat_statements_ctl'"? in "pg_stat_statements--1.8--1.9.sql".

The new status of this patch is: Waiting on Author

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: archive status ".ready" files may be created too early
Следующее
От: Andy Fan
Дата:
Сообщение: Re: [HACKERS] Runtime Partition Pruning