Re: macaddr 64 bit (EUI-64) datatype support
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Julien Rouhaud <julien.rouhaud@dalibo.com>
Cc: Craig Ringer <craig@2ndquadrant.com>, Haribabu Kommi <kommi.haribabu@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2016-10-12T12:32:52Z
Lists: pgsql-hackers
Julien Rouhaud wrote: > and you can instead make macaddr64 support both format, and provide a > macaddr::macaddr64 cast Having macaddr64 support both formats sounds nice, but how does it work? Will we have to reserve one additional bit to select the representation? That would make the type be 65 bits which is a clear loser IMO. Is it allowed to just leave 16 bits as zeroes which would indicate that the address is EUI48? I wouldn't think so ... -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Add support for EUI-64 MAC addresses as macaddr8
- c7a9fa399d55 10.0 landed
-
perltidy pg_dump TAP tests
- 6af8b89adba1 10.0 cited