On Sat, Nov 26, 2016 at 4:48 PM, Tom Lane <t...@sss.pgh.pa.us> wrote:

> Haribabu Kommi <kommi.harib...@gmail.com> writes:
> > Currently the casting is supported from macaddr to macaddr8, but not the
> > other way. This is because, not all 8 byte MAC addresses can be converted
> > into 6 byte addresses.
> Well, yeah, so you'd throw an error if it can't be converted.  This is
> no different from casting int8 to int4, for example.  We don't refuse
> to provide that cast just because it will fail for some values.

Updated patch attached with added cast function from macaddr8 to

Currently there are no support for cross operators. Is this required
to be this patch only or can be handled later if required?

Hari Babu
Fujitsu Australia

Attachment: mac_eui64_support_3.patch
Description: Binary data

Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:

Reply via email to