pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tilo Sloboda <tilo.sloboda@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14362: Postgres macaddr does not support EUI-64 8-byte MAC addresses
Date: Mon, 10 Oct 2016 14:41:18 -0700
Message-ID: <7d72d1c5-bf3d-17ea-d90a-7e402c708b82@gmail.com> (raw)
In-Reply-To: <5336.1476118820@sss.pgh.pa.us>
References: <20161010162001.1413.12486@wrigleys.postgresql.org>
	<5336.1476118820@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
>



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)  latest in thread

Message-ID: <7d72d1c5-bf3d-17ea-d90a-7e402c708b82@gmail.com>
Permalink:  ../7d72d1c5-bf3d-17ea-d90a-7e402c708b82@gmail.com/
Also on:    postgresql.org/message-id/7d72d1c5-bf3d-17ea-d90a-7e402c708b82@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tilo.sloboda@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #14362: Postgres macaddr does not support EUI-64 8-byte MAC addresses
  In-Reply-To: <7d72d1c5-bf3d-17ea-d90a-7e402c708b82@gmail.com>
  References: <20161010162001.1413.12486@wrigleys.postgresql.org> <5336.1476118820@sss.pgh.pa.us> <7d72d1c5-bf3d-17ea-d90a-7e402c708b82@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox