PostgreSQL/Postgre SQL/Inet Address
Версия от 13:45, 26 мая 2010; (обсуждение)
inet address of the local connection
postgres=# -- inet address of the local connection
postgres=# select inet_server_addr();
inet_server_addr
------------------
127.0.0.1
(1 row)
postgres=#
Inet address of the remote connection
postgres=#
postgres=#
postgres=# -- inet address of the remote connection
postgres=# select inet_client_addr();
inet_client_addr
------------------
127.0.0.1
(1 row)
postgres=#