BUG #6651: macaddr length constraint violates standard - Mailing list pgsql-bugs

From erlkonig@talisman.org
Subject BUG #6651: macaddr length constraint violates standard
Date
Msg-id E1SVTIm-0005of-Nd@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #6651: macaddr length constraint violates standard  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      6651
Logged by:          Alex North-Keys
Email address:      erlkonig@talisman.org
PostgreSQL version: 9.1.3
Operating system:   any
Description:=20=20=20=20=20=20=20=20

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".  Given compatibility concerns, renaming
it is probably infeasible.  However, being able to parameterize the length,
defaulting to 6 bytes, would be adequate.

pgsql-bugs by date:

Previous
From: a.krawiec@focustelecom.pl
Date:
Subject: BUG #6650: CPU system time utilization rising few times a day
Next
From: Peter Eisentraut
Date:
Subject: Re: BUG #6651: macaddr length constraint violates standard