pg_stat_activity IP address

Поиск
Список
Период
Сортировка
От alexandre :: aldeia digital
Тема pg_stat_activity IP address
Дата
Msg-id 42378.200.170.145.209.1052236519.squirrel@webmail.ad2.com.br
обсуждение исходный текст
Список pgsql-sql
Hi,

I use pg_locks and pg_stat_activity to get the locked tables in
my database.

But I use the same user to all connections and pg_stat_activity
returns only the username.

I make a script that collect the IP address from ps and
concatenate with PID returned by pg_locks, but
is not usefull for a remote realtime statistic collect.

Thanks

Alexandre



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: VACUUM FULL and ALTER TABLE do *nothing* in 7.3.2
Следующее
От: Randall Lucas
Дата:
Сообщение: UNIQUE boolean: only one row may be "true"