This page in other versions: Unsupported versions: 7.0

IP V4 INET Operators

Table 4-7. PostgresIP V4 INET Operators

Operator Description Usage
< Less than ''::inet < ''::inet
<= Less than or equal ''::inet <= ''::inet
= Equals ''::inet = ''::inet
>= Greater or equal ''::inet >= ''::inet
> Greater ''::inet > ''::inet
<> Not equal ''::inet <> ''::inet
<< is contained within ''::inet << '192.168.1/24'::inet
<<= is contained within or equals '192.168.1/24'::inet <<= '192.168.1/24'::inet
>> contains '192.168.1/24'::inet >> ''::inet
>>= contains or equals '192.168.1/24'::inet >>= '192.168.1/24'::inet

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group