From cc53a1e7ccfa762bda70e1b6a15bfd929bf1b4e3 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Thu, 19 Jan 2012 15:23:04 -0500 Subject: Add bitwise AND, OR, and NOT operators for macaddr data type. Brendan Jurd, reviewed by Fujii Masao --- doc/src/sgml/func.sgml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/src') 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 The macaddr type also supports the standard relational operators (>, <=, etc.) for - lexicographical ordering. + lexicographical ordering, and the bitwise arithmetic operators + (~, & and |) + for NOT, AND and OR. -- cgit v1.2.3