The IPV6 data type stores 16-byte IP addresses in the standard format:
where each y segment contains any hexadecimal value between 0 and FFFF. Uppercase or lowercase letters are accepted. The eight segments are separated by colons. For example:

See also IPV4, 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 IPV6 columns, assuming a /128 netmask.

To explicitly identify a string as an IPV6 literal value, use the IPV6 keyword. For example:
where ip_address > ipv6 '0:0:aaaa:bbbb:ffff:1:1:0'

IPV6 columns accept empty strings.