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=#