Re: What is postgresql doing for "statement: commit;begin;"

Поиск
Список
Период
Сортировка
От Nick Burch
Тема Re: What is postgresql doing for "statement: commit;begin;"
Дата
Msg-id Pine.LNX.4.44.0501171611560.2265-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: What is postgresql doing for "statement: commit;begin;"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Mon, 17 Jan 2005, Tom Lane wrote:
> Nick Burch <nick@torchbox.com> writes:
> > Quite a lot, I'm seeing lines like:
> > 2005-01-17 13:11:15 LOG:  duration: 4688.108 ms  statement: commit;begin;
>
> > Is there any way to find out what exactly got executed here?
>
> A whole lot of deferred-until-transaction-commit operations, evidently.
> You got any deferred foreign keys in this database?

No, we don't. Because of this, I did some reading and discovered
"log_statement" and "log_pid", and turned them on.

It appears that ColdFusion is wrapping some of it's internal housekeeping
DB calls in transactions, and these are the ones that then show up as the
long running "statement: commit;begin;" entries. Mystery solved.

Thanks
Nick


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

Предыдущее
От: "Frank D. Engel, Jr."
Дата:
Сообщение: Re: Problem with win32 installer for PG 8.0
Следующее
От: Együd Csaba
Дата:
Сообщение: Any function for calculating inersect of intervals?