Re: BUG #14362: Postgres macaddr does not support EUI-64 8-byte MAC addresses - Mailing list pgsql-bugs

From Tilo Sloboda
Subject Re: BUG #14362: Postgres macaddr does not support EUI-64 8-byte MAC addresses
Date
Msg-id 7d72d1c5-bf3d-17ea-d90a-7e402c708b82@gmail.com
Whole thread Raw
In response to Re: BUG #14362: Postgres macaddr does not support EUI-64 8-byte MAC addresses  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #14362: Postgres macaddr does not support EUI-64 8-byte MAC addresses
List pgsql-bugs
thanks for the quick answer.

I'm not a contributor of the Postgres code base.

The EUI-64 has been around for a while now, and real-world data contains
such MAC addresses.

How useful is the current macaddr data type if it breaks with real world
input data - and in turn end-users apps?

It would be great it either the macaddr type would be extended, or an
additional type could be introduced which can handle both 48 and 64-bit
MACs.

best regards,  Tilo


On 10/10/16 10:00 AM, Tom Lane wrote:
> tilo.sloboda@gmail.com writes:
>> What is the plan for Postgres to support EUI-64 MACs?
>
> I know of nobody working on that.  Feel free to submit a patch.
> (I'm afraid it might be nontrivial to get the current datatype
> to do anything about this, though, since it's hard-wired as 6 bytes
> on-disk.)
>
>             regards, tom lane
>

pgsql-bugs by date:

Previous
From: Henry Cate
Date:
Subject: Re: BUG #14363: CASE against a literal value produces correct against, same expression against a column null doesn't
Next
From: Noah Misch
Date:
Subject: Re: language code incompatibility in Windows