Re: log xid with duration

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: log xid with duration
Дата
Msg-id 16066.1143826024@sss.pgh.pa.us
обсуждение исходный текст
Ответ на log xid with duration  ("Ed L." <pgsql@bluepolka.net>)
Список pgsql-bugs
"Ed L." <pgsql@bluepolka.net> writes:
> ...the transaction is not printed with the duration (it prints 0
> instead).

It's already out of the transaction by the time it prints the duration,
if you're talking about a command that's not within an explicit BEGIN
block.  I think this is correct --- to do otherwise, we'd not be
counting the transaction commit as part of the command duration, which
would surely be quite misleading.

            regards, tom lane

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

Предыдущее
От: "Ed L."
Дата:
Сообщение: log xid with duration
Следующее
От: "Bujic Nikola"
Дата:
Сообщение: BUG #2365: can't install