Re: is there anyway to get the backends IP address from the - Mailing list pgsql-general

From Bruce Momjian
Subject Re: is there anyway to get the backends IP address from the
Date
Msg-id 200502130009.j1D09GF16733@candle.pha.pa.us
Whole thread Raw
In response to is there anyway to get the backends IP address from the PID?  (Tony Caduto <tony.caduto@amsoftwaredesign.com>)
Responses Re: is there anyway to get the backends IP address from  ("Berend Tober" <btober@seaworthysys.com>)
Re: is there anyway to get the backends IP address from the  (Steve Crawford <scrawford@pinpointresearch.com>)
Re: is there anyway to get the backends IP address from  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
List 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: regular expressions in query
Next
From: "Berend Tober"
Date:
Subject: Re: is there anyway to get the backends IP address from