Re: is there anyway to get the backends IP address from

From: "Berend Tober" <btober(at)seaworthysys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: is there anyway to get the backends IP address from
Date: 2005-02-13 01:17:26
Message-ID: 64778.206.53.65.243.1108257446.squirrel@206.53.65.243
Views: Raw Message | Whole Thread | 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
>

While this does not involve the POD, but doesn't this give the IP address of
the host:

select inet_server_addr()

Or is he talking about something else?

--BMT

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2005-02-13 01:32:23 Re: is there anyway to get the backends IP address from
Previous Message Bruce Momjian 2005-02-13 00:09:15 Re: is there anyway to get the backends IP address from the