Re: macaddr 64 bit (EUI-64) datatype support - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: macaddr 64 bit (EUI-64) datatype support
Date
Msg-id 20161012204841.GA940245@alvherre.pgsql
Whole thread Raw
In response to Re: macaddr 64 bit (EUI-64) datatype support  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: macaddr 64 bit (EUI-64) datatype support  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Vitaly Burovoy <vitaly.burovoy@gmail.com> writes:
> > P.S.: I still think it is a good idea to change storage format,
> 
> I'm not sure which part of "no" you didn't understand, but we're
> not breaking on-disk compatibility of existing macaddr columns.
> Breaking the on-the-wire binary I/O representation seems like a
> nonstarter as well.

I think the suggestion was to rename macaddr to macaddr6 or similar,
keeping the existing behavior and the current OID.  So existing columns
would continue to work fine and maintain on-disk compatibility, but any
newly created columns would become the 8-byte variant.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: macaddr 64 bit (EUI-64) datatype support
Next
From: Tom Lane
Date:
Subject: Re: macaddr 64 bit (EUI-64) datatype support