Re: Get postgresql server ip address - Mailing list pgsql-sql

From Chris Browne
Subject Re: Get postgresql server ip address
Date
Msg-id 87vd0uzgpp.fsf@cbbrowne.afilias-int.info
Whole thread Raw
In response to Get postgresql server ip address  (Gera Mel Handumon <geramel.h@gmail.com>)
List pgsql-sql
geramel.h@gmail.com (Gera Mel Handumon) writes:
> Is it possible to get postgresql server ip address using sql command?

You can get the IP address tied to a specific connection...  

See the function inet_server_port().

Note, however, that the server may have a multiplicity of IP addresses,
so this may only be a partial answer.
-- 
output = ("cbbrowne" "@" "gmail.com")
"A lot  of people come to  this newsgroup and  do nothing but complain
about Lisp.   I think maybe they  are such heavy complainers that they
think they read comp.lain.lisp." -- Erik Naggum


pgsql-sql by date:

Previous
From: Dmitriy Igrishin
Date:
Subject: Re: Get postgresql server ip address
Next
From: Shawn Tayler
Date:
Subject: Re: Cumulative result with increment