PostgreSQL/Postgre SQL/Inet Port — различия между версиями

Материал из SQL эксперт
Перейти к: навигация, поиск
м (1 версия)
 
м (1 версия)
 
(нет различий)

Текущая версия на 13:13, 26 мая 2010

port of the local connection

   <source lang="sql">

postgres=# -- port of the local connection postgres=# select inet_server_port();

inet_server_port

            5432

(1 row) postgres=#

      </source>
   
  


Port of the remote connection

   <source lang="sql">

postgres=# -- port of the remote connection postgres=# select inet_client_port() ;

inet_client_port

            4996

(1 row) postgres=#

      </source>