Module inet

Source

Statics§

_LINKME_ELEMENT_inet_aton_varchar_int8 πŸ”’
_LINKME_ELEMENT_inet_ntoa_int8_varchar πŸ”’

Functions§

inet_aton
Given the dotted-quad representation of an IPv4 network address as a string, returns an integer that represents the numeric value of the address in network byte order (big endian). The returning value is a BIGINT (8-byte integer) because PG doesn’t support unsigned 32-bit integer.
inet_aton_varchar_int8 πŸ”’
inet_ntoa
Given a numeric IPv4 network address in network byte order (big endian), returns the dotted-quad string representation of the address as a string.
inet_ntoa_int8_varchar πŸ”’