Add functions to convert to and from text, and to truncate to MAC OUI.
Thomas G. Lockhart <lockhart@fourpalms.org>
Add functions to convert to and from text, and to truncate to MAC OUI. Remove hardcoded macaddr_manuf(), which had really old, obsolete info. Replace this with some contrib/mac/ code to maniag OUI info from IEEE.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/mac.c | modified | +69 −156 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +36 −31 |
| src/include/utils/builtins.h | modified | +4 −2 |