Re: [HACKERS] New SQL counter statistics view (pg_stat_sql)
От | Dilip Kumar |
---|---|
Тема | Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) |
Дата | |
Msg-id | CAFiTN-txT6uNVb4LBN3md+CaxdLiLUvvunPErDocx6F7TWRo6A@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: New SQL counter statistics view (pg_stat_sql) (Haribabu Kommi <kommi.haribabu@gmail.com>) |
Ответы |
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql)
Re: [HACKERS] New SQL counter statistics view (pg_stat_sql) |
Список | pgsql-hackers |
On Mon, Dec 5, 2016 at 8:01 AM, Haribabu Kommi <kommi.haribabu@gmail.com> wrote: > Moved to next CF with "needs review" status. I have started reviewing the patch, Some initial comments. $ git apply ../pg_stat_sql_row_mode_2.patch error: patch failed: src/include/catalog/pg_proc.h:2893 error: src/include/catalog/pg_proc.h: patch does not apply Patch is not applying on the head, I think it needs to be rebased. +void +pgstat_count_sqlstmt(const char *commandTag) +{ + PgStat_SqlstmtEntry *htabent; + bool found; + + if (!pgstat_track_sql) + return Callers of pgstat_count_sqlstmt are always ensuring that pgstat_track_sql is true, seems it's redundant here. -- Regards, Dilip Kumar EnterpriseDB: http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: