Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 0E9E6198B067 for ; Fri, 18 May 2012 16:57:43 -0300 (ADT) Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SVTIz-0006LB-Mo for pgsql-bugs@postgresql.org; Fri, 18 May 2012 19:57:42 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SVTIn-0001HP-CQ for pgsql-bugs@postgresql.org; Fri, 18 May 2012 19:57:29 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1SVTIm-0005of-Nd for pgsql-bugs@postgresql.org; Fri, 18 May 2012 19:57:28 +0000 Date: Fri, 18 May 2012 19:57:28 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6651: macaddr length constraint violates standard To: pgsql-bugs@postgresql.org From: erlkonig@talisman.org X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201205/112 X-Sequence-Number: 33083 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: = 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.