aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-01-19 15:23:04 -0500
committerRobert Haas <rhaas@postgresql.org>2012-01-19 15:25:14 -0500
commitcc53a1e7ccfa762bda70e1b6a15bfd929bf1b4e3 (patch)
tree22babcb206f440509a23d9ef22fd0970249d073a /doc/src
parent4f42b546fd87a80be30c53a0f2c897acb826ad52 (diff)
downloadpostgresql-cc53a1e7ccfa762bda70e1b6a15bfd929bf1b4e3.tar.gz
postgresql-cc53a1e7ccfa762bda70e1b6a15bfd929bf1b4e3.zip
Add bitwise AND, OR, and NOT operators for macaddr data type.
Brendan Jurd, reviewed by Fujii Masao
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/func.sgml4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index ff9b8b0853e..43b72f695c2 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -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>&gt;</literal>, <literal>&lt;=</literal>, etc.) for
- lexicographical ordering.
+ lexicographical ordering, and the bitwise arithmetic operators
+ (<literal>~</literal>, <literal>&amp;</literal> and <literal>|</literal>)
+ for NOT, AND and OR.
</para>
</sect1>