Re: WHo is locking me?

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: WHo is locking me?
Дата
Msg-id 4BA24E99020000250002FF13@gw.wicourts.gov
обсуждение исходный текст
Ответ на WHo is locking me?  ("Abraham, Danny" <danny_abraham@bmc.com>)
Список pgsql-admin
"Abraham, Danny" <danny_abraham@bmc.com> wrote:

>  procpid |                            current_query
>
---------+---------------------------------------------------------------------
>    25936 | <IDLE> in transaction  <== This is the locker

> - What exactly is the locker doing?

At the time you ran that, it wasn't doing anything in the database,
but it had not committed or rolled back the transaction it had
previously started.

> - Can I retrieve the Client PID somewhere (then by process name I
> will dive into the code).

If you're on Linux and this is a TCP connection, netstat should make
that easy.  Are you?

-Kevin

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Missing tsearch2 functions
Следующее
От: "Vitaly Burshteyn"
Дата:
Сообщение: error