Add bitwise AND, OR, and NOT operators for macaddr data type.
Robert Haas <rhaas@postgresql.org>
Add bitwise AND, OR, and NOT operators for macaddr data type. Brendan Jurd, reviewed by Fujii Masao
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +3 −1 |
| src/backend/utils/adt/mac.c | modified | +53 −0 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_operator.h | modified | +7 −0 |
| src/include/catalog/pg_proc.h | modified | +3 −0 |
| src/include/utils/builtins.h | modified | +3 −0 |
| src/test/regress/expected/macaddr.out | modified | +48 −0 |
| src/test/regress/sql/macaddr.sql | modified | +4 −0 |