Re: Idle transactions

Поиск
Список
Период
Сортировка
От Tino Schwarze
Тема Re: Idle transactions
Дата
Msg-id 20070911141344.GD26986@easy2.in-chemnitz.de
обсуждение исходный текст
Ответ на Re: Idle transactions  (Mateus Interciso <p.zarnick@gmail.com>)
Список pgsql-admin
On Tue, Sep 11, 2007 at 12:26:18PM +0000, Mateus Interciso wrote:

> Thanks for your reply.
> Is there any way on PostgreSQL that I can see the transaction that
> haven't been commited?

The following queries shows open transactions and locks held by the
transaction.

select c.relname,l.transaction,l.pid,l.granted,l.mode from pg_class
c,pg_locks l where l.relation = c.oid order by l.pid, l.mode;

HTH,

Tino.


--
www.spiritualdesign-chemnitz.de
www.lebensraum11.de

Tino Schwarze * Parkstraße 17h * 09120 Chemnitz

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

Предыдущее
От: Mateus Interciso
Дата:
Сообщение: Re: Idle transactions
Следующее
От: PGallagher@rainbow-mail.com
Дата:
Сообщение: Postmaster Question