From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: erlkonig@talisman.org
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6651: macaddr length constraint violates standard
Date: Sun, 20 May 2012 12:16:31 -0400
Message-ID: <20547.1337530591@sss.pgh.pa.us> (raw)
In-Reply-To: <1337468217.10292.26.camel@vanquo.pezone.net>
References: <E1SVTIm-0005of-Nd@wrigleys.postgresql.org>
<1337468217.10292.26.camel@vanquo.pezone.net>
Peter Eisentraut <peter_e@gmx.net> writes:
> On fre, 2012-05-18 at 19:57 +0000, erlkonig@talisman.org wrote:
>> 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.
That's far more easily said than done, considering macaddr is a
fixed-length type with essentially no overhead info. I don't see a way
to do this at all without an on-disk compatibility break. Given the
number of requests so far (viz, one) it doesn't seem like something
we should expend much effort on. We might at some point consider
introducing a different type that could handle variable length data
... although it's not clear that text or bytea couldn't meet the
apparently limited need.
regards, tom lane
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: tgl@sss.pgh.pa.us, peter_e@gmx.net, erlkonig@talisman.org
Subject: Re: BUG #6651: macaddr length constraint violates standard
In-Reply-To: <20547.1337530591@sss.pgh.pa.us>
References: <E1SVTIm-0005of-Nd@wrigleys.postgresql.org> <1337468217.10292.26.camel@vanquo.pezone.net> <20547.1337530591@sss.pgh.pa.us>
* 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