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

Поиск
Список
Период
Сортировка
От Tilo Sloboda
Тема Re: BUG #14362: Postgres macaddr does not support EUI-64 8-byte MAC addresses
Дата
Msg-id 7d72d1c5-bf3d-17ea-d90a-7e402c708b82@gmail.com
обсуждение исходный текст
Ответ на Re: BUG #14362: Postgres macaddr does not support EUI-64 8-byte MAC addresses  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #14362: Postgres macaddr does not support EUI-64 8-byte MAC addresses  (Michael Paquier <michael.paquier@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Henry Cate
Дата:
Сообщение: Re: BUG #14363: CASE against a literal value produces correct against, same expression against a column null doesn't
Следующее
От: Noah Misch
Дата:
Сообщение: Re: language code incompatibility in Windows