| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | tony(dot)caduto(at)amsoftwaredesign(dot)com |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: is there anyway to get the backends IP address from the |
| Date: | 2005-02-13 00:09:15 |
| Message-ID: | 200502130009.j1D09GF16733@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Tony Caduto wrote:
> Hi,
> Does anyone know if there is a way to get the backends IP address from
> the PID?
> I am using the view pg_stat_activity and it would be nice if it would
> also display the IP address along with the PID.
>
> I can see the IP address when I do a ps -ef but it would be nice to be
> able to get it via a sql command.
Added to TODO:
* Add IP address to pg_stat_activity
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Berend Tober | 2005-02-13 01:17:26 | Re: is there anyway to get the backends IP address from |
| Previous Message | Preston Landers | 2005-02-12 22:32:57 | database encoding "WIN" -- Western or Cyrillic? |