Re: pg_stat_transaction patch

Поиск
Список
Период
Сортировка
От Takahiro Itagaki
Тема Re: pg_stat_transaction patch
Дата
Msg-id 20100507111932.98C9.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответ на pg_stat_transaction patch  (Joel Jacobson <joel@gluefinance.com>)
Ответы Re: pg_stat_transaction patch  (Joel Jacobson <joel@gluefinance.com>)
Список pgsql-hackers
Joel Jacobson <joel@gluefinance.com> wrote:

> I propose a set of new statistics functions and system views.
>
> I need these functions in order to do automated testing of our system,
> consisting of hundreds of stored procedures in plpgsql.
> My plan is to develop some additional functions to pgTAP, benefiting from
> the new system tables I've added.

I ported your patch into 9.0beta, but it doesn't work well.
I had two assertion failures from the run.sql:

TRAP: FailedAssertion("!(entry->trans == ((void *)0))", File: "pgstat.c", Line: 715)
TRAP: FailedAssertion("!(tabstat->trans == trans)", File: "pgstat.c", Line: 1756)

Also, pg_stat_transaction_functions returned no rows from the test case even
after I removed those assertions. There are no rows in your test/run.out, too.

I like your idea itself, but more works are required for the implementation.

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


Вложения

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

Предыдущее
От: mike@mlfowler.com
Дата:
Сообщение: Re: Adding xpath_exists function
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Adding xpath_exists function