gerame...@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 th
2011/2/8 Gera Mel Handumon
> Hello,
>
> Is it possible to get postgresql server ip address using sql command?
>
Oh yes, use inet_server_addr() function. Please note, that NULL is returned
if connection established via socket.
>
> TIA,
>
> Geramel
>
>
> ---