Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btqaF-0004yc-HU for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Oct 2016 06:30:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1btqaF-0001LD-4I for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Oct 2016 06:30:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1btiJg-00069t-NW for pgsql-bugs@postgresql.org; Mon, 10 Oct 2016 21:41:00 +0000 Received: from mail-pa0-x244.google.com ([2607:f8b0:400e:c03::244]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1btiJd-0007Wq-VE for pgsql-bugs@postgresql.org; Mon, 10 Oct 2016 21:40:59 +0000 Received: by mail-pa0-x244.google.com with SMTP id rw4so168277pab.3 for ; Mon, 10 Oct 2016 14:40:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=Gw1BmIKPMBKESX1D962V8ilEIOzfY84kpBftOuKFnmQ=; b=FsGzyj3YsuHIliTTz5dWKamNbqdCusf/ikio2JZ6rd2GftJjHnF8Tp32U2yH+lEahP FeDS09dtwBc94PxxE/8UKM/zNMSFBwCKCOEfwv4hibbO9xYOp3ePcAeFjrPNyETPfUkJ Skt53BoPIP0VwhCFnBjunqi0i4Z/l7jKISuBsjSXz4KYfYdhfgyjnFUSCKiZL909vOGF QOCLy0aSUuArpAkAK7UZAVCL5KzlNCv6RIMUlfe/Pn+frpPXcezp+offr2T+ow6yUbPO MMCgLFoBzvUXaQP8Mg1w5NYtdCnuJpTpMBmsScSLKj5vNg0ps7SR6KmuaXovirSsC39v ravA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Gw1BmIKPMBKESX1D962V8ilEIOzfY84kpBftOuKFnmQ=; b=YGjZwEf6HipAfM63bYio7BO94pMaNXWKRJTwYLILw5wBJbTocWyDmZxNx759E624L1 XgdC8jVN/Db15kvnRII1TVdXffwqCkIrt4E830GqzDEYE4hLVtWvOHvjMMF9i8o0W1Vr fF4dMAgTk1Izhgr/l++xdGLeWaG/S1KR8AgSef7hviIYdsVr0lMqTlkpbiTqHOB1NRAu 6BuwSE2POsGtZS+NIOgLosxWjMgtFWA07IdnCBiHZAk7Wh+WBqHr7LdZZWx6qLwRuMEm uomc9NJlChfEf0NK7uPmKTc0hqgEATLjLxXhOyCbilZYVnO3aFFcBfqQ9/SOghAOsyfw fHkA== X-Gm-Message-State: AA6/9Rkl+QXLsxPjIFavK67kr03aoVvY1yMBU/eHOyXgMhn6UGTHOxPGRS66gVmYtiA0rQ== X-Received: by 10.66.21.137 with SMTP id v9mr657139pae.100.1476135656389; Mon, 10 Oct 2016 14:40:56 -0700 (PDT) Received: from lapcat.lan (96-86-175-186-static.hfc.comcastbusiness.net. [96.86.175.186]) by smtp.googlemail.com with ESMTPSA id p7sm108268paa.3.2016.10.10.14.40.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Oct 2016 14:40:54 -0700 (PDT) From: Tilo Sloboda X-Google-Original-From: Tilo Sloboda Subject: Re: BUG #14362: Postgres macaddr does not support EUI-64 8-byte MAC addresses To: Tom Lane References: <20161010162001.1413.12486@wrigleys.postgresql.org> <5336.1476118820@sss.pgh.pa.us> Cc: pgsql-bugs@postgresql.org Message-ID: <7d72d1c5-bf3d-17ea-d90a-7e402c708b82@gmail.com> Date: Mon, 10 Oct 2016 14:41:18 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <5336.1476118820@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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