Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 2D59FB6025B for ; Mon, 6 Jun 2011 11:34:50 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 14177-01-8 for ; Mon, 6 Jun 2011 14:34:42 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 477B9B6047A for ; Mon, 6 Jun 2011 11:31:51 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p56EVplP026658; Mon, 6 Jun 2011 10:31:51 -0400 (EDT) To: Matthijs Bomhoff cc: pgsql-bugs@postgresql.org Subject: Re: MACADDR parsing issues In-reply-to: References: Comments: In-reply-to Matthijs Bomhoff message dated "Mon, 06 Jun 2011 16:00:52 +0200" Date: Mon, 06 Jun 2011 10:31:50 -0400 Message-ID: <26657.1307370710@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201106/52 X-Sequence-Number: 30431 Matthijs Bomhoff writes: > The attached version also rejects MACs containing additional > whitespace between the octets and separators etc. I was under the impression that allowing whitespace there was a feature, not a bug. I'm not sure about the more general question of which abbreviated MAC formats are or should be allowed, though. Can you point to any standards about that? I'm disinclined to incur the inevitable application-compatibility complaints from making the code reject things it now accepts unless we have a pretty solid argument that "it now acts more like RFC NNNN says it should". regards, tom lane