Re: contrib/pg_stat_statements

Поиск
Список
Период
Сортировка
От ITAGAKI Takahiro
Тема Re: contrib/pg_stat_statements
Дата
Msg-id 20081027175317.ADD9.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: contrib/pg_stat_statements  (Hannu Krosing <hannu@2ndQuadrant.com>)
Список pgsql-hackers
Hannu Krosing <hannu@2ndQuadrant.com> wrote:

> > Martin Pihlak <martin.pihlak@gmail.com> wrote:
> > > we need to be able to also track nested statements.
> > 
> > I tried your request, but found it's hard to determine query text
> > where the executing plan comes. 
> 
> Are you sure you need query _text_ ?
> Why not just aggregate on function OID and reslve OID to text only at
> display stage ?

He wants to track pieces of functions.
Function OID and *positions in the source text* would be needed.
Per-function tracking is already done in pg_stat_user_functions,
that uses function OIDs.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center




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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: contrib/pg_stat_statements
Следующее
От: "Ibrar Ahmed"
Дата:
Сообщение: ERRORDATA_STACK_SIZE exceeded (server crash)