Re: Get postgresql server ip address

Поиск
Список
Период
Сортировка
От Chris Browne
Тема Re: Get postgresql server ip address
Дата
Msg-id 87vd0uzgpp.fsf@cbbrowne.afilias-int.info
обсуждение исходный текст
Ответ на Get postgresql server ip address  (Gera Mel Handumon <geramel.h@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Dmitriy Igrishin
Дата:
Сообщение: Re: Get postgresql server ip address
Следующее
От: Shawn Tayler
Дата:
Сообщение: Re: Cumulative result with increment