pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: erlkonig@talisman.org
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6651: macaddr length constraint violates standard
Date: Sun, 20 May 2012 01:56:57 +0300
Message-ID: <1337468217.10292.26.camel@vanquo.pezone.net> (raw)
In-Reply-To: <E1SVTIm-0005of-Nd@wrigleys.postgresql.org>
References: <E1SVTIm-0005of-Nd@wrigleys.postgresql.org>

On fre, 2012-05-18 at 19:57 +0000, erlkonig@talisman.org wrote:
> The macaddr type does not allow for MACs of greater length (or less than)
> than six bytes, only capturing a particular variety of ethernet address
> (Xerox's original version) instead of the broader use of MACs where
> addresses of other lengths are common, such as the 64-bit EUI-64.
> 
> A more appropriate type name would have been "ethernet", specific to the
> case actually captured by "macaddr".

The documentation makes reference to IEEE Std 820, which clearly allows
only 48 bit quantities and calls them "LAN MAC addresses".  So I think
the implementation, documentation, and terminology is correct.

I'm not familiar with the EUI-64 space, but the Wikipedia page
http://en.wikipedia.org/wiki/Mac_address indicates that they are related
to but distinct from what is generally known as MAC addresses.  But
since you are claiming a standards violation, would you also point out
which standard?

> Given compatibility concerns, renaming
> it is probably infeasible.  However, being able to parameterize the
> length, defaulting to 6 bytes, would be adequate.

That could be a workable solution.





view thread (3+ messages)  latest in thread

Message-ID: <1337468217.10292.26.camel@vanquo.pezone.net>
Permalink:  ../1337468217.10292.26.camel@vanquo.pezone.net/
Also on:    postgresql.org/message-id/1337468217.10292.26.camel@vanquo.pezone.net

 · 

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: peter_e@gmx.net, erlkonig@talisman.org
  Subject: Re: BUG #6651: macaddr length constraint violates standard
  In-Reply-To: <1337468217.10292.26.camel@vanquo.pezone.net>
  References: <E1SVTIm-0005of-Nd@wrigleys.postgresql.org> <1337468217.10292.26.camel@vanquo.pezone.net>

* 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