pg_stat_activity IP address - Mailing list pgsql-sql

From alexandre :: aldeia digital
Subject pg_stat_activity IP address
Date
Msg-id 42378.200.170.145.209.1052236519.squirrel@webmail.ad2.com.br
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: VACUUM FULL and ALTER TABLE do *nothing* in 7.3.2
Next
From: Randall Lucas
Date:
Subject: UNIQUE boolean: only one row may be "true"