Re: stored procedures vs pg_stat_statements

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: stored procedures vs pg_stat_statements
Дата
Msg-id 1493055.1734991093@sss.pgh.pa.us
обсуждение исходный текст
Ответ на stored procedures vs pg_stat_statements  (Merlin Moncure <mmoncure@gmail.com>)
Ответы Re: stored procedures vs pg_stat_statements
Список pgsql-hackers
Merlin Moncure <mmoncure@gmail.com> writes:
> Can this simply be disabled for stored procedures as a special case?  I'm
> hoping this might do something useful that is also safe.  Curious if anyone
> has any thoughts on this.

No, I don't think that would help.  The restriction on utility
statements would cover CREATE PROCEDURE/FUNCTION, not calls
of those things which is what I suppose you care about.

Do you have pg_stat_statements.track set to "all"?  That should
allow statements within stored procedures to be tracked, which
again is what I'm guessing you care about.

            regards, tom lane



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