The IPV4 data type stores 4-byte IP addresses in the standard format:
where x is an octet with a value between 0 and 255. An IPV4 address always contains three periods and four octets. For example:

See also IPV6, which is a separate data type, and Network Address Functions. Some network address functions accept netmask values for processing; however, only single-host specifications are stored in IPV4 columns, assuming a /32 netmask. If a source data value contains the /n CIDR notation, this notation is ignored when the value is loaded. For example, is stored as

To explicitly identify a string as an IPV4 literal value, use the IPV4 keyword. For example:
where ip_address > ipv4 ''

IPV4 columns do not accept empty strings.