inet_client_port () → integerReturns the IP port number of the current client, or
NULL if the current connection is via a Unix-domain socket.Functions / System Information Functions And Operators
Returns the IP port number of the current client, or NULL if the current connection is via a Unix-domain socket.
Reading PG 18current·documented in 23 of 27 versions, 8.0 to 20
inet_client_port () → integerReturns the IP port number of the current client, or
NULL if the current connection is via a Unix-domain socket.Definition snapshot: b7bd9cda · English manual source