mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Add bitwise AND, OR, and NOT operators for macaddr data type.
Brendan Jurd, reviewed by Fujii Masao
This commit is contained in:
@ -8300,7 +8300,9 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
|
||||
<para>
|
||||
The <type>macaddr</type> type also supports the standard relational
|
||||
operators (<literal>></literal>, <literal><=</literal>, etc.) for
|
||||
lexicographical ordering.
|
||||
lexicographical ordering, and the bitwise arithmetic operators
|
||||
(<literal>~</literal>, <literal>&</literal> and <literal>|</literal>)
|
||||
for NOT, AND and OR.
|
||||
</para>
|
||||
|
||||
</sect1>
|
||||
|
Reference in New Issue
Block a user